Add project quota support feature (LU-4017)

[LU-7514] add project quota support to lfs find, lfs getstripe, lfs setstripe Created: 03/Dec/15  Updated: 09/May/17  Resolved: 09/May/17

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

Type: Technical task Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

In order to be able to use project quota efficiently, it makes sense to be able to print the current project ID of a file, search for files owned by a specific project, as well as specify the project ID at file creation time.

This means adding a --project=ID option to lfs find to print only filenames that match the specified project ID.

For lfs getstripe the --project option will print out the project ID of the file, or directory, as I don't think there is any support for stat or ls to print out the project ID of a file or directory.

For lfs setstripe the --project=ID option will create the file with the specified project ID, if the user has permission to do so. I'm not 100% sure if this is needed - what is the planned user interface for setting the project ID of a new file or directory, besides inheriting the project ID from the parent?



 Comments   
Comment by Shuichi Ihara (Inactive) [ 10/Apr/17 ]

This is part of Project quota patch series. https://review.whamcloud.com/#/c/23955

Comment by Peter Jones [ 09/May/17 ]

This work was tracked under LU-4017 in the end

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