Whamcloud - gitweb
LU-13805 osc: Don't include lock for srvlock 67/50067/16
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 20 Feb 2023 05:19:40 +0000 (00:19 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Jun 2023 21:45:58 +0000 (21:45 +0000)
commit9a34ec2b09864a93339fd8c90d358debea9703f9
tree6b9cf6018e91c1f7f2a5ab276d773daa33d310ce
parent471ce3d95651ca06209a76973cae3bbdb5b6aa2f
LU-13805 osc: Don't include lock for srvlock

When doing server side locking, it doesn't make sense to do
the 'search for covering lock and send it to the server'
step when building an RPC, because we will not use that
lock.

This can disguise issues on the client, because prolonging
a lock is supposed to let a client avoid eviction if it is
still doing IO under the lock, but we are not.  This can
result in delaying an eviction which should be occurring
because the client can't give the lock back.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I6957925bf2d8b7be2340469337906a94a758953d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50067
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osc/osc_object.c