Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
Running lfs setstripe on a file with open(O_LOV_DELAY_CREATE) results in the MDS sending a DLM lock callback to the client for the newly-created file when ioctl(LL_IOC_LOV_SETSTRIPE) is called. I believe (but am not positive) that the callback is on the MDS_INODELOCK_LAYOUT bit of the inode.
It doesn't make sense for the MDS to grant this bit to the client when O_LOV_DELAY_CREATE is used, since the file does not have a layout, and it is very likely that the client will call ioctl(LL_IOC_LOV_SETSTRIPE) immediately thereafter.
Attachments
Issue Links
- is related to
-
LU-11264 llapi_* routines demonstrate poor performance
- Open