|
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.
|