Whamcloud - gitweb
LU-13677 quota: qunit sorting doesn't work 42/38942/2
authorSergey Cheremencev <sergey.cheremencev@hpe.com>
Mon, 15 Jun 2020 15:11:09 +0000 (18:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jul 2020 16:51:37 +0000 (16:51 +0000)
commit8704d14c466706e3ebe9528f08919e923a5b98c8
tree36ccdb9686fa1ba47aa804b63677cecb8bd3564f
parentb0e8ab1a5f6f8d4a7c01241fec192ed50ad0b896
LU-13677 quota: qunit sorting doesn't work

As sorting doesn't work correctly, sometimes
new decreased qunit may be not sent to OST.
If qunit reaches it's minimum and is not sent
to OST, this may cause a client to hung on
write as OST gets EINPROGRESS instead of
EDQUOT. Patch solves this issue.

Change-Id: I3ae22cc4d080968132ca762b9c0915a994ac126e
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Reviewed-on: https://review.whamcloud.com/38942
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/qmt_pool.c