Re: [PATCH v12] exfat: add EXFAT_IOC_COMBINE to append a file's clusters to another

From: Shaopei Zhu

Date: Tue Dec 01 2026 - 15:49:06 EST


On Sun, Nov 29, 2026, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
> This is weird behavior from an otherwise fairly reasonable API. How
> about rejecting a request that would require inserting zeros into the
> middle of the resulting file instead of automatically inserting zeros?

Hi Andy,

Thanks, that makes sense. v14 refuses a destination that does not end
at a cluster boundary with -EINVAL and leaves the padding to user
space. That also removes the code that undid the padding.

Shaopei