On Sat, Dec 05, 2015 at 09:57:18AM +0000, Wang, Zhiye wrote: > Hi all, > > > If I understand it correctly, defragment operation is done in user space tools, while scrub/re-balance is done in kernel thread. Defragment is done via a IOCTL, so it also works in the kernel. > > > So, if my kernel module calls freeze_bdev when scrub/re-balance is in progress, will I still be able to get a consistent file system state? It should be like that with COW enabled. Thanks, -liubo -- 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
