[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d022ac8c-6ef5-4f3e-8788-d3e2a5d4bc7c@oracle.com>
Date: Tue, 25 Feb 2025 18:07:41 +0000
From: John Garry <john.g.garry@...cle.com>
To: "Darrick J. Wong" <djwong@...nel.org>
Cc: brauner@...nel.org, cem@...nel.org, dchinner@...hat.com, hch@....de,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, ojaswin@...ux.ibm.com,
ritesh.list@...il.com, martin.petersen@...cle.com, tytso@....edu,
linux-ext4@...r.kernel.org
Subject: Re: [PATCH v2 09/11] xfs: Commit CoW-based atomic writes atomically
On 25/02/2025 17:50, Darrick J. Wong wrote:
>> Can you please check this versus what you suggested in
>> https://lore.kernel.org/linux-
>> xfs/20250206215014.GX21808@...gsfrogsfrogs/#t
> Ah, yeah, that ^^ is correct. This needs a better comment then:
>
> /*
> * Each remapping operation could cause a btree split, so in
> * the worst case that's one for each block.
> */
> resblks = (end_fsb - offset_fsb) *
> XFS_NEXTENTADD_SPACE_RES(mp, 1, XFS_DATA_FORK);
ok, fine.
Cheers
Powered by blists - more mailing lists