mpifileutils icon indicating copy to clipboard operation
mpifileutils copied to clipboard

DRAFT: ignore FS_IOC_FIEMAP failure with ENOTSUPP

Open ofaaland opened this issue 7 months ago • 3 comments

Lustre can return ENOTSUPP (524) in response to an FS_IOC_FIEMAP ioctl() call, for a file striped a certain way.

The file can still be copied, fiemap just can't tell us where the holes are.

A brief survey using google searches suggests ENOTSUPP (524) was historically intended for use internal to the kernel or drivers, but has occasionally been returned to users by different software, in ways that have meaning similar to ENOTSUP.

Ignore the error as with ENOTSUP (95) so the file is copied without the use of fiemap.

Fixes #644

ofaaland avatar Jun 27 '25 18:06 ofaaland