[LU-15536] create an imperative SoM syncing utility Created: 08/Feb/22 Updated: 23/Dec/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | Jian Yu |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
We have ./lustre/doc/llsom_sync.8 to sync size on MDT xattrs but it is based on changelogs. For scanning based on SoM to be useful we need a utility (of lfs subcommand) that can be used to resynchronize the SoM xattrs of the files we supply. In addition to a usual interface lfs somsync FILE... we should also support Lustre client mount point followed by a list of FIDs lfs somsync --by-fid MOUNT FID... (Similar to 'lfs rmfid', allowing use with xargs.) Note that lsom_update_one() has the steps to resynchronize SoM. |
| Comments |
| Comment by John Hammond [ 11/Feb/22 ] |
|
yujian could you take a look at this? |
| Comment by Jian Yu [ 11/Feb/22 ] |
|
Sure, John. |
| Comment by Gerrit Updater [ 23/Dec/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49498 |