Whamcloud - gitweb
LU-274 Update LVB from disk when glimpse callback return error
authorNiu Yawei <niu@whamcloud.com>
Fri, 6 May 2011 16:11:24 +0000 (09:11 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Mon, 9 May 2011 13:59:06 +0000 (06:59 -0700)
commit8cf8ac002a32b872677b8d9064e35f8eda436a28
tree5add7a8097139a5e2d48129f8efe19c5a993519f
parent5bdfe661a6179f62a40b24348dc7cf06fb73e2f4
LU-274 Update LVB from disk when glimpse callback return error

  Client ll_glimpse_callback() could fail to get inode if the inode is
  already been cleared, and this glimpse callback will fail for
  -ELDLM_NO_LOCK_DATA, so server should update LVB from disk
  (in filter_intent_policy()) when it received such error from client.

Issue:
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I29b2fe4b35114359b0ad62106de48f5f2f696636
Reviewed-on: http://review.whamcloud.com/507
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/obdfilter/filter.c