Thread (3 messages) 3 messages, 2 authors, 2016-08-18

Re: [PATCH] btrfs: do not background blkdev_put()

From: Anand Jain <hidden>
Date: 2016-08-18 14:25:07


On 08/18/2016 08:46 PM, David Sterba wrote:
On Fri, Jul 22, 2016 at 06:04:53AM +0800, Anand Jain wrote:
quoted
From: Anand Jain <redacted>

At the end of unmount/dev-delete, if the device exclusive open is not
actually closed, then there might be a race with another program in
the userland who is trying to open the device in exclusive mode and
it may fail for eg:
      unmount /btrfs; fsck /dev/x
      btrfs dev del /dev/x /btrfs; fsck /dev/x
so here background blkdev_put() is not a choice
missing signed-off, I'll add it
Err.
Reviewed-by: David Sterba <dsterba@suse.com>
Thanks, Anand
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help