[LU-14032] The agent inode under directory with S_ISGID causes group quota discrepancy Created: 14/Oct/20  Updated: 15/Oct/20  Resolved: 15/Oct/20

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13636 local agent on ldiskfs can introduce ... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If the parent directory is set as S_ISGID, the agent inode for the remote stripe directory
under it will be created with its GID as its parent GID during creation, but it is restore as
current_fsgid() after the creation, which cause the group quota discrepancy.



 Comments   
Comment by Gerrit Updater [ 14/Oct/20 ]

Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40245
Subject: LU-14032 osd: create agent inode with proper GID
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d2bf3edd50fe2603d8b7c87a48820f82a4ff5bfe

Comment by Alex Zhuravlev [ 14/Oct/20 ]

there was a patch yet: https://review.whamcloud.com/#/c/38842/

Comment by Hongchao Zhang [ 14/Oct/20 ]

bzzz Okay, Thanks!

Comment by Peter Jones [ 14/Oct/20 ]

So we can close this ticket as a duplicate of LU-13636?

Comment by Hongchao Zhang [ 15/Oct/20 ]

Duplicated as LU-13636

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