Whamcloud - gitweb
LU-17446 ldlm: Do not wait for BL AST RPC completion on cancel
If we have sent an AST RPC to the client and while it's in flight
the client sent in the cancel, sometimes (esp. if AST or reply
to it are lost) even though the lock is already cancelled, whoever
is waiting on it is still stuck while trying to resend ASTs.
And in the end the client is not even evicted because the lock cancel
did come and all is fine, but it can add over a hundred seconds
to lock granting process in some non-ideal circumstances.
For simplicity we only treat Blocking ASTs like this, since we
can only have a single one of this kind.
This is adding additional pointer to struct ldlm_lock, but that is
already 560 bytes so does not really mean much.
Change-Id: Id2231bc3bfc3e094faae2872fe09f3c330d441df
Signed-off-by: Oleg Drokin <green@whamcloud.com>