[LU-10173] Lustre does not allow FIEMAP on directories Created: 31/Oct/17 Updated: 13/Dec/17 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.10.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | medium | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Even though ext4 allows FIEMAP on directories, Lustre does not, returning -EOPNOTSUPP. It should mostly be a matter of sending the FIEMAP RPC to the MDS instead of the OSS. Some care would be needed for striped directories, possibly using FIEMAP_FL_DEVICE_ORDER in this case, rather than forcing the LMV to interleave all of the blocks. However, since directories will already typically be very fragmented, it won't make the output much worse if DEVICE_ORDER is not used. |