Whamcloud - gitweb
LU-12075 mdt: commit migrate transaction with locks held 31/34431/9
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 15 Mar 2019 12:39:10 +0000 (15:39 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Sep 2019 05:09:49 +0000 (05:09 +0000)
commite5c0c9f2cb45c4c98060c5dceb6556f098674cbd
treee22cbf25051fd666e3240db139bb36e37b8d23ed
parent8f65b07e90be21242cb49493421dcd3081f6fbac
LU-12075 mdt: commit migrate transaction with locks held

in normal conditions migration (being a distributed transaction)
saves LDLM locks in the reply to implement CoS semantics, but if
 migrate process has got too many LDLM locks and we can't save
them in the reply, then we should commit the transaction and
then we can release the locks.

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