Can anyone help me with this question?
Not only the kernel space API freeze_bdev, but also the IO control which can be called from user space.
-----Original Message-----
From: Wang, Zhiye
Sent: Saturday, December 5, 2015 5:57 PM
To: linux-btrfs@xxxxxxxxxxxxxxx
Subject: freeze_bdev and scrub/re-balance
Hi all,
If I understand it correctly, defragment operation is done in user space tools, while scrub/re-balance is done in kernel thread.
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?
Thanks
Mike
--
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