Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
lfs getstripe uses an ioctl on the parent directory to get the file striping but still opens the file to call the OBD_IOC_GETNAME ioctl in get_mds_md_size(). Rather than doing this we should just use a large enough size for the lum buffer. This avoids interfering with existing file locks and leases on the file.
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39159/
Subject:
LU-13693lfs: check early for MDS_OPEN_DIRECTORYProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3ea729fe822d3c39df6d8a5fb530dd8a6901c91c