[LU-11377] setattr/setxattr don't need to set security irrelevant attrs/xattrs to shards Created: 14/Sep/18 Updated: 15/Nov/21 Due: 14/Dec/18 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Lai Siyao | Assignee: | Hongchao Zhang |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | dne3 | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Currently setattr/setxattr will set all attr/xattr on all shards for directory, if they are irrelevant to security, it's not necessary because client will merge attributes from master object and all shards, and xattr is obtained from master object. As a side effect, doing this will turn many operations into distributed operations, e.g. close will update atime, which makes system slow. |
| Comments |
| Comment by Gerrit Updater [ 22/Sep/19 ] |
|
Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36256 |