Whamcloud - gitweb
LU-13408 target: update in-memory per client data 55/38855/4
authorLai Siyao <lai.siyao@whamcloud.com>
Sat, 6 Jun 2020 20:00:00 +0000 (04:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Jun 2020 02:21:47 +0000 (02:21 +0000)
commit300858ccfcd00b52663de45e0bb472012242f342
treede906fd11122d2fb217dc9bc063385050a8733f2
parent4115148e4ac5ccb3620a9f8d3e48da0a712943c5
LU-13408 target: update in-memory per client data

Some clients don't support recovery:
1. lightweight clients.
2. local clients on MDS which doesn't support "local_recovery".
3. OFD connect may cause transaction before export has valid
   last_rcvd slot.

Though such clients don't store per client data on disk, they
still need to update in memory per client data to allow reply
reconstruct and track saved LDLM locks (both local and remote) be
tracked by transaction number.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Id0082358e7720e5ef61f366682ae91282bd66d6d
Reviewed-on: https://review.whamcloud.com/38855
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/target/tgt_lastrcvd.c