[LU-12388] expand QUOTA_MAX_TRANSIDS for Project Quota? Created: 05/Jun/19  Updated: 03/Nov/21  Resolved: 29/Apr/20

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.7
Fix Version/s: None

Type: Question/Request Priority: Trivial
Reporter: Tatsushi Takamura Assignee: Wang Shilong (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15193 qsd_op_begin: more than 8 qids enforc... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

lustre/include/lustre_quota.h

/* With the DoM, both inode quota in meta pool and block quota in data pool
 * will be enforced at MDT, there are at most 4 quota ids being enforced in
 * a single transaction for inode and block quota, which is chown transaction:
 * original uid and gid, new uid and gid.
 *
 * This value might need to be revised when directory quota is added.  */

#define QUOTA_MAX_TRANSIDS    8

 

 According to the comment, it appears that QUOTA_MAX_TRANSIDS need to consider projid for PROJECT QUOTA( though chown doesn't change projid).
Because there are no operation that changes uid, gid, and projid in a single transaction, is it OK that QUOTA_MAX_TRANSIDS is 8? Or is there any operations that need more than 8 qids for a single transaction?



 Comments   
Comment by Wang Shilong (Inactive) [ 29/Apr/20 ]

Yup, i was not aware of any operations could change them at the same time, we could fix it if that is needed in the future if that is needed.

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