summaryrefslogtreecommitdiff
path: root/fs/nilfs2/btree.c
diff options
context:
space:
mode:
authorxuejiufei <xuejiufei@huawei.com>2016-03-15 21:53:17 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-15 23:55:16 (GMT)
commitd277f33eda000ca03b1497fcf1c9e2ec33adf4c6 (patch)
treed870e8e541e9cb6ddd5ed33bedccaa31e5e5e29f /fs/nilfs2/btree.c
parent8c0343968163dc3536e56268026f475b1bbf61b4 (diff)
downloadlinux-d277f33eda000ca03b1497fcf1c9e2ec33adf4c6.tar.xz
ocfs2/dlm: return EINVAL when the lockres on migration target is in DROPPING_REF state
If master migrate this lock resource to node when it happened to purge it, a new lock resource will be created and inserted into hash list. If then master goes down, the lock resource being purged is recovered, so there exist two lock resource with different owner. So return error to master if the lock resource is in DROPPING state, master will retry to migrate this lock resource. Signed-off-by: xuejiufei <xuejiufei@huawei.com> Cc: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Reviewed-by: Joseph Qi <joseph.qi@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/btree.c')
0 files changed, 0 insertions, 0 deletions