Whamcloud - gitweb
LU-4139 quota: improve write performance when over softlimit 78/8078/3
authorNiu Yawei <yawei.niu@intel.com>
Mon, 28 Oct 2013 16:03:15 +0000 (12:03 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 16 Nov 2013 00:57:48 +0000 (00:57 +0000)
commite6aae309005b5765ead991af8b8007a8657ba276
tree4747ea7507928e70c713347324217a2cdb2a1f79
parentabd7b8c9e13681fd3baf463ccb9619f9bdf25e30
LU-4139 quota: improve write performance when over softlimit

To improve the write performance when over softlimit, we choose
to lose some grace time accuracy: shrinking the qunit size to
(4 * least_qunit_size) instead of least_qunit_size.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I20e341d53979ac42227197ec6fa04dd38974073f
Reviewed-on: http://review.whamcloud.com/8078
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/quota/qmt_entry.c
lustre/quota/qmt_internal.h