[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] deadlock with suspend and quotas
- From: Al Viro <viro ZenIV linux org uk>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: linux-fsdevel vger kernel org, dm-devel redhat com, Jan Kara <jack suse cz>, linux-kernel vger kernel org
- Subject: Re: [dm-devel] [PATCH] deadlock with suspend and quotas
- Date: Tue, 3 Jan 2012 03:30:05 +0000
On Fri, Nov 25, 2011 at 03:25:16PM -0500, Mikulas Patocka wrote:
> The following patch fixes the deadlock. When the quota subsystem takes s_umount,
> it checks if the filesystem is frozen. If it is, we drop s_umount, wait for
> the filesystem to resume and retry.
>
> Signed-off-by: Mikulas Patocka <mpatocka redhat com>
> CC: stable kernel org
So basically you want a variant of get_super() that would get you a
superblock for this bdev, locked and unfrozen? Fair enough, but
* that should be a proper helper in super.c, rather than
open-coded in fs/quota/quota.c, of all places
* what about other existing callers get_super() and its friends?
and while we are at it, why in damnation name is it exported? The only
caller outside of core VFS is under #if 0...
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]