[LU-17171] sanity-quota 41 may fail on zfs backend Created: 08/Oct/23  Updated: 03/Nov/23  Resolved: 03/Nov/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The block size is 4k on zfs backend, the block used will be multiple of 4k. In sanity-quota 41, 'df' returns project quota value, and the result should match the result of 'lfs quota', but quota result is shown in 1k, if the real blocks used is not multiple of 4k, the results will mismatch.



 Comments   
Comment by Gerrit Updater [ 08/Oct/23 ]

"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52591
Subject: LU-17171 quota: df switch to quota block size
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2941b3fe3b6244b82e0173f04ac578939aaf4590

Comment by Gerrit Updater [ 03/Nov/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52591/
Subject: LU-17171 test: improve sanity-quota test_41
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a504f2c869bada922c6211822be432b253921096

Comment by Peter Jones [ 03/Nov/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:33:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.