Re: [PATCH 2/2] btrfs: wait for bdev put

2016-06-20 Thread Anand Jain
On 06/19/2016 12:34 AM, Holger Hoffstätte wrote: On Tue, 14 Jun 2016 18:55:26 +0800, Anand Jain wrote: Further to the previous commit bc178622d40d87e75abc131007342429c9b03351 btrfs: use rcu_barrier() to wait for bdev puts at unmount Since free_device() spinoff __free_device() the rcu_barri

Re: [PATCH 2/2] btrfs: wait for bdev put

2016-06-18 Thread Holger Hoffstätte
On Tue, 14 Jun 2016 18:55:26 +0800, Anand Jain wrote: > Further to the previous commit > bc178622d40d87e75abc131007342429c9b03351 > btrfs: use rcu_barrier() to wait for bdev puts at unmount > > Since free_device() spinoff __free_device() the rcu_barrier() for > call_rcu(&device->rcu, free

[PATCH 2/2] btrfs: wait for bdev put

2016-06-14 Thread Anand Jain
Further to the previous commit bc178622d40d87e75abc131007342429c9b03351 btrfs: use rcu_barrier() to wait for bdev puts at unmount Since free_device() spinoff __free_device() the rcu_barrier() for call_rcu(&device->rcu, free_device); didn't help. This patch reverts changes by bc178622d40d