Open kevin-harms opened 1 year ago
This looks like it might be https://jira.whamcloud.com/browse/LU-16480 which fixes a bug in the FIEMAP handling. This needs a small client-side patch to fix.
That said, if this code is using FIEMAP for determining sparseness of a file, it might be better to use lseek(fd, SEEK_HOLE)
since this also works for PFL files (otherwise Lustre will return EOPNOTSUPP
for FIEMAP calls).
The SEEK_HOLE/SEEK_DATA functionality was added in 2.14, but is a client-only patch.
Getting the following error when source is Lustre and I request spare support (-S)
I'm thinking this is because the structure initialization for the ioctl is bad. Running the following Lustre version:
I don't know if Lustre is strict about maintaining format of ioctl calls between different releases.