Whamcloud - gitweb
LU-4597 clio: clear nowait flag agl lock re-enqueue 49/9249/1
authorNiu Yawei <yawei.niu@intel.com>
Thu, 13 Feb 2014 07:07:14 +0000 (02:07 -0500)
committerNiu Yawei <yawei.niu@intel.com>
Thu, 13 Feb 2014 07:07:14 +0000 (02:07 -0500)
commit85c352274b3435a41649e9a5089da83b54893d37
tree3e870c16137dac6cda9d6f919d6174c69278a29a
parent6323d52abfe4cf1eda06b4ac3a5b325d9fa13276
LU-4597 clio: clear nowait flag agl lock re-enqueue

The LDLM_FL_BLOCK_NOWAIT flag should be cleared when re-enqueue
the agl lock as normal glimpse, otherwise, it won't get size back
if there is conflicting locks on other client.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ifd311606e824d6574bfbf3256841061e8867214a
lustre/osc/osc_lock.c