Whamcloud - gitweb
LU-11952 mdt: fix reconstruct open 12/35112/19
authorAndriy Skulysh <c17819@cray.com>
Sun, 3 Mar 2019 18:10:31 +0000 (20:10 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Dec 2021 03:51:52 +0000 (03:51 +0000)
commitcf6ce3329f92f146206be8b63846d2c6e45c92d6
tree3907896ff8adaac0c4483aa055cdf5ba6a0fb92d
parentf2f168e3daf12850f40f991d74e04eb283c2376f
LU-11952 mdt: fix reconstruct open

We shouldn't start a new transaction on resend.

Store fid of an opened object and use it during
reconstruction of the resend.

Change-Id: I8c21e9661903d3d4090ad29e43480e2ba7e35c39
Cray-bug-id: LUS-6957, LUS-7286
Signed-off-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Vitaly Fertman <c17818@cray.com>
Reviewed-on: https://review.whamcloud.com/35112
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_target.h
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_open.c
lustre/target/tgt_lastrcvd.c
lustre/tests/recovery-small.sh