RE: freeze_bdev and scrub/re-balance

2015-12-14 Thread Wang, Zhiye
u Bo [mailto:bo.li@oracle.com] Sent: Thursday, December 10, 2015 1:22 AM To: Wang, Zhiye Cc: linux-btrfs@vger.kernel.org Subject: Re: freeze_bdev and scrub/re-balance On Sat, Dec 05, 2015 at 09:57:18AM +, Wang, Zhiye wrote: > Hi all, > > > If I understand it correctly, defrag

RE: freeze_bdev and scrub/re-balance

2015-12-09 Thread Wang, Zhiye
/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

Re: freeze_bdev and scrub/re-balance

2015-12-09 Thread Liu Bo
t; > > 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&quo