Re: [PATCH 2/2] smb/client: mark file sparse before emulating insert range

hehuiwen <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
Hi Namjae,

Thanks for the review. I have also found a few other issues in the
FALLOC_FL_INSERT_RANGE path and am working on further improvements to
this series. I will send a v2 as soon as it is ready.

Thanks,
Huiwen

在 2026/8/18 15:12, Namjae Jeon 写道:
> Shouldn't this error be propagated? Unlike ordinary file extension,
> FALLOC_FL_INSERT_RANGE is required to create an unallocated hole. If
> SET_SPARSE fails, SET_ZERO_DATA only writes allocated zeroes, but the
> operation still returns success...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.