Whamcloud - gitweb
LU-2827 ldlm: wrong handling of ldlm resends 92/10492/4
authorVitaly Fertman <vitaly_fertman@xyratex.com>
Mon, 29 Sep 2014 23:13:25 +0000 (19:13 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 7 Oct 2014 15:40:46 +0000 (11:40 -0400)
commit1984882771ba22f36b5d3d61f94b98268abaf4ca
tree222c6805ba88723fb690e1dbba7363132b09aab2
parent36fa482f18f5b9536dd79ef9d7d4abb512101d78
LU-2827 ldlm: wrong handling of ldlm resends

If a successful reply is lost for an intent
lock request, MDS will not correctly recover
from this situation on resend. Instead, a new
lock is created.

Lustre-commit: I9a23c13313d5168d0c232fdc0acbdab330089356
Lustre-change: http://review.whamcloud.com/5978

This patch also adds handling of resend during layout-lock

Lustre-commit: Ideb551779a884d77ded8036c513f62557b2dfcde
Lustre-change: http://review.whamcloud.com/#/c/10378

Change-Id: I6745461b2a1370837be7bcbff12dc021cd1021cf
Signed-off-by: Vitaly Fertman <vitaly_fertman@xyratex.com>
Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
13 files changed:
lustre/include/lustre_dlm_flags.h
lustre/include/obd_support.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_plain.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/ofd/ofd_dlm.c
lustre/ptlrpc/service.c
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh