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>
Mon, 30 Dec 2013 22:38:16 +0000 (17:38 -0500)
commitd73738c125c0bde5f7e5f4168d47ee2b8a1b0e3d
tree79c829e2f3fa0a0ed4a160bed5243f72e8588e7e
parentb7e9bedef0c8073835802c0d0bcf1d22ccc82b22
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