diff options
author | Dave Chinner <david@fromorbit.com> | 2013-08-28 02:18:08 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-11 00:56:31 +0200 |
commit | 35163417fb7a55a24b6b0ebb102e9991adf309aa (patch) | |
tree | 070f440f9f3e34a712a53b8d1cf7eea9f1b0c443 /fs/quota | |
parent | xfs-convert-dquot-cache-lru-to-list_lru-fix (diff) | |
download | linux-35163417fb7a55a24b6b0ebb102e9991adf309aa.tar.xz linux-35163417fb7a55a24b6b0ebb102e9991adf309aa.zip |
xfs: fix dquot isolation hang
The new LRU list isolation code in xfs_qm_dquot_isolate() isn't
completely up to date. Firstly, it needs conversion to return enum
lru_status values, not raw numbers. Secondly - most importantly - it
fails to unlock the dquot and relock the LRU in the LRU_RETRY path.
This leads to deadlocks in xfstests generic/232. Fix them.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Cc: Glauber Costa <glommer@gmail.com>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions