summaryrefslogtreecommitdiffstats
path: root/fs/quota/Makefile
diff options
context:
space:
mode:
authorXue jiufei <xuejiufei@huawei.com>2014-12-10 15:41:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:03 -0800
commitd1e78238741491d24177d99453091439c90ac70e (patch)
treed292b52cc80dc07c44f9bb472fc6c9074de0232b /fs/quota/Makefile
parentdc17158060fb57f49c310a7def12fdaeddf35b19 (diff)
downloadblackbird-obmc-linux-d1e78238741491d24177d99453091439c90ac70e.tar.gz
blackbird-obmc-linux-d1e78238741491d24177d99453091439c90ac70e.zip
ocfs2: do not set OCFS2_LOCK_UPCONVERT_FINISHING if nonblocking lock can not be granted at once
ocfs2_readpages() use nonblocking flag to avoid page lock inversion. It will trigger cluster hang because that flag OCFS2_LOCK_UPCONVERT_FINISHING is not cleared if nonblocking lock cannot be granted at once. The flag would prevent dc thread from downconverting. So other nodes cannot acheive this lockres for ever. So we should not set OCFS2_LOCK_UPCONVERT_FINISHING when receiving ast if nonblocking lock had already returned. Signed-off-by: joyce.xue <xuejiufei@huawei.com> Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/quota/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud