Whamcloud - gitweb
LU-2211 quota: cache return code of acq for 1s
authorJohann Lombardi <johann.lombardi@intel.com>
Wed, 24 Oct 2012 18:51:36 +0000 (20:51 +0200)
committerOleg Drokin <green@whamcloud.com>
Mon, 12 Nov 2012 16:37:52 +0000 (11:37 -0500)
commit6929549acde2357339aec7bcaac6ec301150e96e
tree5a2093cb54397a069ffbbc5a90357ddd2cd1a1a9
parent214bb48cd628441a77e97ffba409bfc5ad4e501b
LU-2211 quota: cache return code of acq for 1s

Cache failed return code of acquire request for 1s to avoid
request flooding with EINPROGRESS and cumulative timeout on
ETIMEOUT when the master isn't responsive.

Signed-off-by: Johann Lombard <johann.lombardi@intel.com>
Change-Id: I3c212055b1ed6cd3671e69a0cff079dae831af61
Reviewed-on: http://review.whamcloud.com/4380
Tested-by: Hudson
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/lquota_internal.h
lustre/quota/qsd_handler.c