[PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2018-01-18 Thread Anand Jain
From: Anand Jain Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Also rename btrfs_free_stale_device() to btrfs_free_stale_devices(). Signed-off-by: Anand Jain Reviewed-by:

Re: [PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2018-01-10 Thread Josef Bacik
On Wed, Jan 10, 2018 at 01:15:20PM +0800, Anand Jain wrote: > From: Anand Jain > > Let the list iterator iterate further and find other stale > devices and delete it. This is in preparation to add support > for user land request-able stale devices cleanup. Also rename > btrfs_free_stale_device()

[PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2018-01-09 Thread Anand Jain
From: Anand Jain Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Also rename btrfs_free_stale_device() to btrfs_free_stale_devices(). Signed-off-by: Anand Jain --- fs/btrfs

Re: [PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2018-01-09 Thread Josef Bacik
On Tue, Jan 09, 2018 at 10:13:11PM +0800, Anand Jain wrote: > From: Anand Jain > > Let the list iterator iterate further and find other stale > devices and delete it. This is in preparation to add support > for user land request-able stale devices cleanup. > > Signed-off-by: Anand Jain If we'r

[PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2018-01-09 Thread Anand Jain
From: Anand Jain Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Signed-off-by: Anand Jain --- fs/btrfs/volumes.c | 20 +--- 1 file changed, 9 insertions(+)

Re: [PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2017-12-15 Thread Nikolay Borisov
On 16.12.2017 04:13, Anand Jain wrote: > > > On 12/15/2017 11:06 PM, Nikolay Borisov wrote: >> >> >> On 15.12.2017 05:47, Anand Jain wrote: >>> Let the list iterator iterate further and find other stale >>> devices and delete it. This is in preparation to add support >>> for user land request-a

Re: [PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2017-12-15 Thread Anand Jain
On 12/15/2017 11:06 PM, Nikolay Borisov wrote: On 15.12.2017 05:47, Anand Jain wrote: Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Signed-off-by: Anand Jain What i

Re: [PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2017-12-15 Thread Nikolay Borisov
On 15.12.2017 05:47, Anand Jain wrote: > Let the list iterator iterate further and find other stale > devices and delete it. This is in preparation to add support > for user land request-able stale devices cleanup. > > Signed-off-by: Anand Jain What is the lock protection of this function - uu

[PATCH 3/6] btrfs: make btrfs_free_stale_device() to iterate all stales

2017-12-14 Thread Anand Jain
Let the list iterator iterate further and find other stale devices and delete it. This is in preparation to add support for user land request-able stale devices cleanup. Signed-off-by: Anand Jain --- fs/btrfs/volumes.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-)