Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.5, Lustre 2.5.0
-
3
-
8376
Description
There is a small problem in lfs print_quota() function (lustre/utils/lfs.c:2487 in master) that can confuse output of lfs quota when user reaches isoftlimit and dqb_itime is set :
if (dqb->dqb_ihardlimit &&
dqb->dqb_curinodes >= dqb->dqb_ihardlimit) {
iover = 1;
} else if (dqb->dqb_isoftlimit && dqb->dqb_itime) {
if (dqb->dqb_btime > now) {
^^^^^^^^^^^^^^^^^^^^
iover = 2;
} else {
iover = 3;
}
}
The test should be made on dbq_itime (inode time), not on dbq_dtime (data time).
I will propose a patch to address this typo issue.