aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster
diff options
context:
space:
mode:
authorXue jiufei <xuejiufei@huawei.com>2013-11-12 15:07:00 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 12:09:01 +0900
commitfae477b6f005d6bd8a6fb3f052b30d55cfa70c26 (patch)
treef6f658c03c701a49eb3bc339efad7d1e0d2048a0 /fs/ocfs2/cluster
parentocfs2: skip locks in the blocked list (diff)
downloadlinux-dev-fae477b6f005d6bd8a6fb3f052b30d55cfa70c26.tar.xz
linux-dev-fae477b6f005d6bd8a6fb3f052b30d55cfa70c26.zip
ocfs2: delay migration when the lockres is in migration state
We trigger a bug in __dlm_lockres_reserve_ast() when we parallel umount 4 nodes. The situation is as follows: 1) Node A migrate all lockres it owned(eg. lockres A) to other nodes say node B when it umounts. 2) Receiving MIG_LOCKRES message from A, Node B masters the lockres A with DLM_LOCK_RES_MIGRATING state set. 3) Then we umount ocfs2 on node B. It also should migrate lockres A to another node, say node C. But now, DLM_LOCK_RES_MIGRATING state of lockers A is not cleared. Node B triggered the BUG on lockres with state DLM_LOCK_RES_MIGRATING. Signed-off-by: Xuejiufei <xuejiufei@huawei.com> Signed-off-by: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Tariq Saeed <tariq.x.saeed@oracle.com> Cc: Srinivas Eeda <srinivas.eeda@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions