I'm using btrfs and snapper on a system with an SSD. On this system
when I run `snapper -c root ls` (where `root` is the snapper config
for /), the process takes a very long time and top shows the following
process using 100% of the CPU:

    kworker/u8:6+btrfs-qgroup-rescan

I have multiple computers (also with SSD's) set up the same way with
snapper and btrfs. On the other computers, `snapper -c root ls`
completes almost instantly, even on systems with many more snapshots.
This system has 20 total snapshots on `/`.

System info:

    4.18.16-arch1-1-ARCH (Arch Linux)
    btrfs-progs v4.17.1
    scrub started at Sat Oct 27 18:37:21 2018 and finished after 00:04:02
    total bytes scrubbed: 75.97GiB with 0 errors

    Filesystem           Size  Used Avail Use% Mounted on
    /dev/mapper/cryptdv  116G   77G   38G  67% /

    Data, single: total=72.01GiB, used=71.38GiB
    System, DUP: total=32.00MiB, used=16.00KiB
    Metadata, DUP: total=3.50GiB, used=2.22GiB

What other info would be helpful? What troubleshooting steps should I try?

Reply via email to