Re: [PATCH] btrfs: waiting on qgroup rescan should not always be interruptible
From: David Sterba <hidden>
Date: 2016-08-17 12:22:07
From: David Sterba <hidden>
Date: 2016-08-17 12:22:07
On Mon, Aug 08, 2016 at 10:08:06PM -0400, jeffm@suse.com wrote:
From: Jeff Mahoney <redacted> We wait on qgroup rescan completion in three places: file system shutdown, the quota disable ioctl, and the rescan wait ioctl. If the user sends a signal while we're waiting, we continue happily along. This is expected behavior for the rescan wait ioctl. It's racy in the shutdown path but mostly works due to other unrelated synchronization points. In the quota disable path, it Oopses the kernel pretty much immediately. Cc: <redacted> # v4.4+ Signed-off-by: Jeff Mahoney <redacted>
Reviewed-by: David Sterba <dsterba@suse.com>