Description
When doing a layout scan to check MDT-OST object connectivity, LFSCK should also verify and correct mismatches of the PRJID, UID, and GID between the MDT inode and OST object(s). The MDT inode values are the only ones visible to userspace applications, but the OST object values are used for quota accounting and should be kept in sync. The UID/GID/PRJID are normally set on the OST objects automatically when they are first modified by the client, but can sometimes get out of sync (e.g. failed/aborted MDT recovery), so LFSCK should repair this inconsistency automatically during scanning.