Whamcloud - gitweb
LU-10212 ldlm: fix prolong for destroyed lock 54/31354/2
authorAlexander Boyko <c17825@cray.com>
Wed, 8 Nov 2017 19:30:05 +0000 (14:30 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 5 Apr 2018 19:42:07 +0000 (19:42 +0000)
commit75010631ddbaef52739d8b5bd8dadf7051a2830f
tree98ec9bf18594c719bcc42e94071d6f288bf34962
parent585643bfe764ee236bd761ba1f824962c7940644
LU-10212 ldlm: fix prolong for destroyed lock

For a IO request ofd_prolong_extent_locks use
a fast path if the lock is found by handle. If the lock
has LDLM_FL_DESTROYED, prolong should try a general path.

No lock was accounted for IO request with destroyed lock
and ESTALE error happaned for a client.

operation ost_read to node x.x.x.x@o2ib failed: rc = -116

Lustre-change: https://review.whamcloud.com/29992
Lustre-commit: 0716d51d082e3a81c10529627c895db008ae8e35

Signed-off-by: Alexander Boyko <c17825@cray.com>
Change-Id: I63e619d0330279bb2ae678ed98b1c0e899ad4e08
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31354
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/ofd/ofd_dev.c