Linux XFS filesystem development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Daejun Park <daejun7.park@samsung.com>
Cc: Carlos Maiolino <cem@kernel.org>,
	"linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
	Dave Chinner <david@fromorbit.com>,
	"Darrick J. Wong" <djwong@kernel.org>,
	Amir Goldstein <amir73il@gmail.com>,
	Brian Foster <bfoster@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Oliver O'Halloran <oohall@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: (2) [PATCH v2 2/2] xfs: skip the fsync flush when a later flush has completed
Date: Wed, 25 Nov 2026 07:18:14 +0100	[thread overview]
Message-ID: <20261125061814.GC20968@lst.de> (raw)
In-Reply-To: <20261124023930epcms2p76ee61d14c5333dd04b4466b9f11bbcf8@epcms2p7>

On Tue, Nov 24, 2026 at 11:39:30AM +0900, Daejun Park wrote:
> > > +	 * DAX writes are not block I/O, so DAX only skips the flush when
> > > +	 * this log force flushed, as before.
> >
> > I don't get the DAX part.  As far as cache flushes are concerned we
> > don't special case DAX anywhere else, why here?
> 
> I was not sure that a flush issued by another CPU covers DAX data on
> powerpc, so I kept the old behaviour for DAX. I never verified that.
> The existing log_flushed skip may already rely on such a flush.

Yeah, if that is an issue on powerpc, xfs and others alredy hit it.
Adding the author and maintainer who signed off on PAPR SCM to clarify
if this is an issue.  Although if it is it probably needs to be worked
around in the driver.


  reply	other threads:[~2026-11-25  6:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  3:17 [PATCH v2 0/2] xfs: skip redundant fsync cache flushes Daejun Park via B4 Relay
2026-11-11  3:17 ` [PATCH v2 1/2] xfs: number the cache flushes submitted to each buftarg Daejun Park via B4 Relay
2026-11-11 14:22   ` Brian Foster
2026-11-20 18:14   ` Christoph Hellwig
2026-11-24  2:38     ` Daejun Park
2026-11-11  3:17 ` [PATCH v2 2/2] xfs: skip the fsync flush when a later flush has completed Daejun Park via B4 Relay
2026-11-11 14:22   ` Brian Foster
2026-11-12  2:39     ` Daejun Park
2026-11-20 18:17   ` Christoph Hellwig
2026-11-24  2:39     ` Daejun Park
2026-11-25  6:18       ` Christoph Hellwig [this message]
2026-11-11  6:47 ` [PATCH v2 0/2] xfs: skip redundant fsync cache flushes Dave Chinner
2026-11-17  2:33   ` Daejun Park
2026-11-24 13:08     ` (2) " Pankaj Raghav (Samsung)

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=20261125061814.GC20968@lst.de \
    --to=hch@lst.de \
    --cc=amir73il@gmail.com \
    --cc=bfoster@redhat.com \
    --cc=cem@kernel.org \
    --cc=daejun7.park@samsung.com \
    --cc=david@fromorbit.com \
    --cc=djwong@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=oohall@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox