From: Daejun Park <daejun7.park@samsung.com>
To: Brian Foster <bfoster@redhat.com>
Cc: Carlos Maiolino <cem@kernel.org>,
"linux-xfs@vger.kernel.org" <linux-xfs@vger.kernel.org>,
Christoph Hellwig <hch@lst.de>,
Dave Chinner <david@fromorbit.com>,
"Darrick J. Wong" <djwong@kernel.org>,
Amir Goldstein <amir73il@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Daejun Park <daejun7.park@samsung.com>
Subject: RE:(2) [PATCH 1/2] xfs: number the cache flushes submitted to each buftarg
Date: Wed, 11 Nov 2026 10:04:45 +0900 [thread overview]
Message-ID: <20261111010445epcms2p7972ac621507b96f995e477b203e952dc@epcms2p7> (raw)
In-Reply-To: <avIGZ9ABd_pXSy1L@bfoster>
On Mon, Nov 09, 2026 at 12:44:07PM -0500, Brian Foster wrote:
> > + iclog->ic_flush_seq = 0;
> > + if (iclog->ic_bio.bi_opf & REQ_PREFLUSH)
> > + iclog->ic_flush_seq = xfs_buftarg_flush_start(log->l_targ);
>
> Bit of a nit, but it looks like this would be cleaner if we moved both
> of these a bit further up. I.e., zero ->ic_flush_seq right after where
> we init the iclog->ic_bio fields, and then move the assignment under the
> same block where we set the PREFLUSH flag. Hm?
Thanks, agreed. In v2 xlog_write_iclog() will zero ic_flush_seq right
after the ic_bio setup and take the number in the branch that sets
REQ_PREFLUSH.
next prev parent reply other threads:[~2026-11-11 1:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 2:49 [PATCH 0/2] xfs: skip redundant fsync cache flushes Daejun Park via B4 Relay
2026-11-05 2:49 ` [PATCH 1/2] xfs: number the cache flushes submitted to each buftarg Daejun Park via B4 Relay
2026-11-09 17:44 ` Brian Foster
[not found] ` <CGME20261109174425epcas2p37306753cba345ce4909a28d2a77fb208@epcms2p7>
2026-11-11 1:04 ` Daejun Park [this message]
2026-11-05 2:49 ` [PATCH 2/2] xfs: skip the fsync flush when a later flush has completed Daejun Park via B4 Relay
2026-11-09 17:44 ` Brian Foster
[not found] ` <CGME20261109174511epcas2p22eb1ad7fec0b96837feb110984f57fa7@epcms2p1>
2026-11-11 1:05 ` Daejun Park
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=20261111010445epcms2p7972ac621507b96f995e477b203e952dc@epcms2p7 \
--to=daejun7.park@samsung.com \
--cc=amir73il@gmail.com \
--cc=bfoster@redhat.com \
--cc=cem@kernel.org \
--cc=david@fromorbit.com \
--cc=djwong@kernel.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
/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®