mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Shaopei Zhu <shaopei_1012@163.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>,
	Sungjong Seo <sj1557.seo@samsung.com>,
	Yuezhang Mo <yuezhang.mo@sony.com>,
	exfat@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-api@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] exfat: add EXFAT_IOC_COMBINE to append a file's clusters to another
Date: Tue, 24 Nov 2026 17:40:53 +0000	[thread overview]
Message-ID: <awXMJaZ58iS3K2N0@casper.infradead.org> (raw)
In-Reply-To: <20261124142807.773299-1-shaopei_1012@163.com>

On Tue, Nov 24, 2026 at 10:28:07PM +0800, Shaopei Zhu wrote:
> As with EXT4_IOC_MOVE_EXT and F2FS_IOC_MOVE_RANGE, the source must be
> open for reading and writing, the destination for writing, and both must
> be regular files on the same mount.  Files whose allocation, chain
> layout or valid_size are inconsistent, as after a failed truncate or on
> a corrupt volume, are refused with -EIO before anything is changed.

Why are you designing your own ioctl instead of implementing
EXT4_IOC_MOVE_EXT in exfat?  That's the normal way of doing things as
it lets us later hoist the ioctl from all the filesystems implementing
it to the VFS.

  reply	other threads:[~2026-11-24 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 14:28 Shaopei Zhu
2026-11-24 17:40 ` Matthew Wilcox [this message]
2026-11-24 18:19   ` Shaopei Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awXMJaZ58iS3K2N0@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=exfat@lists.linux.dev \
    --cc=linkinjeon@kernel.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaopei_1012@163.com \
    --cc=sj1557.seo@samsung.com \
    --cc=yuezhang.mo@sony.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®