Quota enforcement landing (LU-1842)

[LU-1830] defects in ldiskfs quota accounting iterator api Created: 05/Sep/12  Updated: 18/Apr/13  Resolved: 18/Apr/13

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

Type: Technical task Priority: Minor
Reporter: Niu Yawei (Inactive) Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: quota

Rank (Obsolete): 4457

 Description   

ldiskfs quota accounting iterator api can't walk through all entries.



 Comments   
Comment by Andreas Dilger [ 05/Sep/12 ]

Sorry, hit "Assign to me" by accident...

I thought the in-kernel inode iteration for quota was being removed in flavour of letting e2fsck do this?

Secondly, is this the osd-ldiskfs iterator that LFSCK is using or in fsfilt? The fsfilt code will be removed by the 2.4 release, so it isn't clear that this work is useful.

Comment by Niu Yawei (Inactive) [ 05/Sep/12 ]

http://review.whamcloud.com/#change,3877

Comment by Niu Yawei (Inactive) [ 05/Sep/12 ]

Hi, Andreas

Sorry, the ticket description isn't clear enough.

This iterator is used to walk through quota accounting files, mostly used when checking the quota accounting in a proc file, and it will be used to walk through the old quota amdin files when doing quota migration (for quota enforcement).

This isn't the old code using by fsfilt or LFSCK, it's developed in orion quota accounting project, and we found some defects in the code while developing quota enforcement, so I just want to land the fix into master.

Comment by Niu Yawei (Inactive) [ 09/Sep/12 ]

patch landed

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