Whamcloud - gitweb
LU-5521 grant: quiet message on grant waiting timeout 16/11716/3
authorJohann Lombardi <johann.lombardi@intel.com>
Mon, 1 Sep 2014 10:38:31 +0000 (12:38 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 15 Sep 2014 18:20:03 +0000 (18:20 +0000)
commit150246e73c925d628ce9cbbd8184c0b0eefc9a16
treee2d5c8954fd1f773474963008034503d1398aff6
parent88b89eb2da9d8255c613e317c0b0f0620b9cf622
LU-5521 grant: quiet message on grant waiting timeout

Use at_max in osc_enter_cache() to bound how long we wait for grant
space before switching to synchronous I/Os. Do not print a message
on the console when the timeout is hit since such long wait can
be legitimate with flaky network (i.e. BRW is resent multiple times).

Signed-off-by: Johann Lombardi <johann.lombardi@intel.com>
Change-Id: I9c507a11ea4a3612e932e22bebb5087dbdcf248a
Reviewed-on: http://review.whamcloud.com/11716
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_cache.c