Hi,
I'm newbie with btrfs, and I have pb with high load after each btrfs subvolume delete
I use snapshots on lxc hosts under debian jessie with
- kernel 4.6.0-0.bpo.1-amd64
- btrfs-progs 4.6.1-1~bpo8
For backup, I have each day, for each subvolume
btrfs subvolume snapshot -r $subvol $snap
# then later
ionice -c3 btrfs subvolume delete $snap
but ionice doesn't seems to have any effect here and after a few minutes the load grows up
quite high (30~40), and I don't know how to make this deletion nicer with I/O
Is there a better way to do so ?
Is it a bad idea to set ionice -c3 on the btrfs-transacti process which seems the one doing a
lot of I/O ?
Actually my io priority on btrfs process are
ps x|awk '/[b]trfs/ {printf("%20s ", $NF); system("ionice -p" $1)}'
[btrfs-worker] none: prio 4
[btrfs-worker-hi] none: prio 4
[btrfs-delalloc] none: prio 4
[btrfs-flush_del] none: prio 4
[btrfs-cache] none: prio 4
[btrfs-submit] none: prio 4
[btrfs-fixup] none: prio 4
[btrfs-endio] none: prio 4
[btrfs-endio-met] none: prio 4
[btrfs-endio-met] none: prio 4
[btrfs-endio-rai] none: prio 4
[btrfs-endio-rep] none: prio 4
[btrfs-rmw] none: prio 4
[btrfs-endio-wri] none: prio 4
[btrfs-freespace] none: prio 4
[btrfs-delayed-m] none: prio 4
[btrfs-readahead] none: prio 4
[btrfs-qgroup-re] none: prio 4
[btrfs-extent-re] none: prio 4
[btrfs-cleaner] none: prio 0
[btrfs-transacti] none: prio 0
Thanks
--
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html