All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: ernest.borowski.git@proton.me
Cc: Namjae Jeon <linkinjeon@kernel.org>,
	Hyunchul Lee <hyc.lee@gmail.com>,
	Baolin Liu <liubaolin12138@163.com>,
	Christian Brauner <brauner@kernel.org>,
	"Darrick J. Wong" <djwong@kernel.org>,
	ntfs@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
	Zhan Xusheng <zhanxusheng1024@gmail.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH v2 01/11] iomap: punch out a run of clean blocks in one call
Date: Wed, 25 Nov 2026 06:48:14 +0100	[thread overview]
Message-ID: <20261125054814.GA20604@lst.de> (raw)
In-Reply-To: <20261124-b4-ntfs-delalloc-fixes-v2-1-f394c800ec03@proton.me>

On Tue, Nov 24, 2026 at 11:49:35PM +0100, Ernest Borowski via B4 Relay wrote:
> +		unsigned int next_blk = ifs_next_dirty_block(folio,
> +				first_blk + 1, last_blk);
> +
>  		punch(inode, folio_pos(folio) + (first_blk << blkbits),
> -				1 << blkbits, iomap);
> -		first_blk++;
> +				(loff_t)(next_blk - first_blk) << blkbits, iomap);

Overly long line.

Otherwise this looks fine, but did you test this on ext4 and XFS?


  reply	other threads:[~2026-11-25  5:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 22:49 [PATCH v2 00/11] ntfs: delayed allocation accounting and stale data fixes, part 1 Ernest Borowski via B4 Relay
2026-11-24 22:49 ` Ernest Borowski
2026-11-24 22:49 ` [PATCH v2 01/11] iomap: punch out a run of clean blocks in one call Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-25  5:48   ` Christoph Hellwig [this message]
2026-11-25 17:37     ` Ernest Borowski
2026-11-24 22:49 ` [PATCH v2 02/11] iomap: add a helper to mark a range of a folio dirty Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-25  5:50   ` Christoph Hellwig
2026-11-25 17:37     ` Ernest Borowski
2026-11-24 22:49 ` [PATCH v2 03/11] ntfs: release delalloc reservations cut off by truncate Ernest Borowski via B4 Relay
2026-11-24 22:49   ` Ernest Borowski
2026-11-24 22:49 ` [PATCH v2 04/11] ntfs: do not consume delalloc reservations when filling holes Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 05/11] ntfs: keep delalloc reservations when a cluster allocation fails Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 06/11] ntfs: release the delalloc reservations of an evicted inode Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 07/11] ntfs: do not shift the cluster number of a delalloc run on split Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 08/11] ntfs: punch out the delalloc reservation of a failed buffered write Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 09/11] ntfs: zero new delalloc clusters even when writeback allocates them Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 10/11] ntfs: zero the rest of a new cluster after a short buffered write Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay
2026-11-24 22:49 ` [PATCH v2 11/11] ntfs: revalidate a buffered write's mapping after its clusters were allocated Ernest Borowski
2026-11-24 22:49   ` Ernest Borowski via B4 Relay

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=20261125054814.GA20604@lst.de \
    --to=hch@lst.de \
    --cc=brauner@kernel.org \
    --cc=djwong@kernel.org \
    --cc=ernest.borowski.git@proton.me \
    --cc=hyc.lee@gmail.com \
    --cc=linkinjeon@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=liubaolin12138@163.com \
    --cc=ntfs@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=zhanxusheng1024@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.