Whamcloud - gitweb
LU-2679 grant: OFD grant as client requested upon reconnect
authorLai Siyao <lai.siyao@intel.com>
Fri, 1 Feb 2013 13:46:17 +0000 (21:46 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 22 Apr 2013 17:45:47 +0000 (13:45 -0400)
commit5fa49dff33e3df03e8a061c87d61afda3b8c01a5
tree3818d2affb844e007e09e12da764f5dcf7972ee7
parent622134762c49ccb7b0d0cc7f9e4b48cfe20d8a38
LU-2679 grant: OFD grant as client requested upon reconnect

Part of the patch in bz20278 is lost in OFD implementation,
add it back:
* besides recovery, grant client requested amount on normal
  reconnect.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I9e06316d0bd8602663eef4ba661a4ebfebb6e1bd
Reviewed-on: http://review.whamcloud.com/5255
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_grant.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/osc/osc_request.c