[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240213175549.GU616564@frogsfrogsfrogs>
Date: Tue, 13 Feb 2024 09:55:49 -0800
From: "Darrick J. Wong" <djwong@...nel.org>
To: Christoph Hellwig <hch@....de>
Cc: John Garry <john.g.garry@...cle.com>, viro@...iv.linux.org.uk,
brauner@...nel.org, dchinner@...hat.com, jack@...e.cz,
chandan.babu@...cle.com, martin.petersen@...cle.com,
linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-fsdevel@...r.kernel.org, tytso@....edu, jbongio@...gle.com,
ojaswin@...ux.ibm.com
Subject: Re: [PATCH 0/6] block atomic writes for XFS
On Tue, Feb 13, 2024 at 08:22:37AM +0100, Christoph Hellwig wrote:
> From reading the series and the discussions with Darrick and Dave
> I'm coming more and more back to my initial position that tying this
> user visible feature to hardware limits is wrong and will just keep
> on creating ever more painpoints in the future.
>
> Based on that I suspect that doing proper software only atomic writes
> using the swapext log item and selective always COW mode
Er, what are you thinking w.r.t. swapext and sometimescow? swapext
doesn't currently handle COW forks at all, and it can only exchange
between two of the same type of fork (e.g. both data forks or both attr
forks, no mixing).
Or will that be your next suggestion whenever I get back to fiddling
with the online fsck patches? ;)
> and making that
> work should be the first step. We can then avoid that overhead for
> properly aligned writs if the hardware supports it. For your Oracle
> DB loads you'll set the alignment hints and maybe even check with
> fiemap that everything is fine and will get the offload, but we also
> provide a nice and useful API for less performance critical applications
> that don't have to care about all these details.
I suspect they might want to fail-fast (back to standard WAL mode or
whatever) if the hardware support isn't available.
--D
Powered by blists - more mailing lists