Re: [PATCH 02/10] Btrfs: don't write any data into a readonly device when scrub

2014-07-25 Thread Anand Jain
On 07/24/2014 11:37 AM, Miao Xie wrote: We should not write data into a readonly device especially seed device when doing scrub, skip those devices. Reviewed-by: Anand Jain anand.j...@oracle.com Signed-off-by: Miao Xie mi...@cn.fujitsu.com --- fs/btrfs/scrub.c | 11 +++ 1 file

Re: [PATCH 02/10] Btrfs: don't write any data into a readonly device when scrub

2014-07-24 Thread David Sterba
On Thu, Jul 24, 2014 at 11:37:07AM +0800, Miao Xie wrote: We should not write data into a readonly device especially seed device when doing scrub, skip those devices. Signed-off-by: Miao Xie mi...@cn.fujitsu.com Reviewed-by: David Sterba dste...@suse.cz One minor comment below. @@ -2904,6