Details
-
Improvement
-
Resolution: Fixed
-
Major
-
Lustre 2.12.0
-
9223372036854775807
Description
The LSOM functionality should be integrated with lfs find so that it is possible to use this functionality directly on the client. The MDS can fill in the mbo_size and mbo_blocks fields from the LSOM xattr, if the actual size/blocks are not available, and then set new OBD_MD_FLLSIZE and OBD_MD_FLLBLOCKS flags in the reply so that the client knows these fields are valid.
The lfs find command can add a "--lazy" option (or maybe "--lsize" and "--lblocks"?) to allow the use of LSOM data from the MDS. We might consider to also use this for "--size" when it is specified in some large range, like "--size -1G" or "--blocks +1M" since we don't need accurate sizes to match those requests. That could probably be done as a separate patch after the initial functionality is implemented and we have some idea how well LSOM is keeping the size uptodate.
Please include updates to the command usage and man page.
Attachments
Issue Links
- is related to
-
LU-13826 fix compatibility for LL_IOC_MDC_GETINFO
- Resolved
-
LU-12337 SoM in DoM needs to work transparently
- Resolved
-
LU-12026 verify that MDS stores atime/mtime/ctime during LSOM update
- Resolved
-
LU-11554 Make stat() work with LSOM
- Resolved
-
LU-11971 Send file creation time to clients
- Resolved
-
LU-12332 Add a liblustreapi call for IOC_MDC_GETFILEINFO
- Resolved
- is related to
-
LU-12253 lfs: double free or corruption (!prev)
- Resolved
-
LU-9538 Size on MDT with guarantee of eventual consistency
- Resolved