[LTP] [PATCH] fallocate05: Allow ENXIO error from lseek(SEEK_DATA) on empty file
Cyril Hrubis
chrubis@suse.cz
Thu Sep 26 14:28:04 CEST 2024
Hi!
> Some filesystems release deallocated blocks in larger chunks.
> On these filesystems, the whole test file needs to be deallocated
> to allow the final write to pass. However, lseek(SEEK_DATA) may
> return ENXIO error if the entire file range from offset to end of file
> is one large hole. Allow ENXIO error in this special case.
I do not get how is the whole file one hole, we write 10 bytes at the
end after we punch the hole. Or do I miss something?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list