Whamcloud - gitweb
LU-4139 quota: improve write performance when over softlimit
authorNiu Yawei <yawei.niu@intel.com>
Mon, 28 Oct 2013 16:03:15 +0000 (12:03 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 19 Nov 2013 23:00:03 +0000 (08:00 +0900)
commit3a5d37e161d226cbc9f910f691d7f0e5c56e8208
tree51ccf2cb11f9a91809996e2031700579b269f6cd
parent2a5517d3075fc1a78eef54bc95873889095ff7c9
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