Re: [PATCH 1/2 v2] btrfs: btrfs_rm_device() should zero mirror SB as well

2014-04-05 Thread Anand Jain
On 04/04/2014 20:39, David Sterba wrote: On Mon, Mar 31, 2014 at 10:13:56PM +0800, Anand Jain wrote: From: Anand Jain anand.j...@oracle.com This fix will ensure all SB copies on the disk is zeroed when the disk is intentionally removed. This helps to better manage disks in the user land.

Re: [PATCH 1/2 v2] btrfs: btrfs_rm_device() should zero mirror SB as well

2014-04-04 Thread David Sterba
On Mon, Mar 31, 2014 at 10:13:56PM +0800, Anand Jain wrote: From: Anand Jain anand.j...@oracle.com This fix will ensure all SB copies on the disk is zeroed when the disk is intentionally removed. This helps to better manage disks in the user land. Signed-off-by: Anand Jain

[PATCH 1/2 v2] btrfs: btrfs_rm_device() should zero mirror SB as well

2014-03-31 Thread Anand Jain
From: Anand Jain anand.j...@oracle.com This fix will ensure all SB copies on the disk is zeroed when the disk is intentionally removed. This helps to better manage disks in the user land. Signed-off-by: Anand Jain anand.j...@oracle.com btrfs: don't double brelse on device rm Device removal