From: "Darrick J. Wong" <djwong@kernel.org>
To: Anuj Gupta <anuj1072538@gmail.com>
Cc: cem@kernel.org, hch@lst.de, linux-xfs@vger.kernel.org
Subject: Re: [PATCH 2/7] xfs: port healthmon event list to list_head
Date: Thu, 27 Aug 2026 07:47:59 -0700 [thread overview]
Message-ID: <20260827144759.GC6072@frogsfrogsfrogs> (raw)
In-Reply-To: <mut2xsmp77543bjkmrzpmx6cbbua7gjt7sty4kg7zuf7lwudfp@33ksdiowtxwm>
On Thu, Aug 27, 2026 at 03:03:46PM +0530, Anuj Gupta wrote:
> > - if (xfs_healthmon_merge_events(hm->last_event, &lost_event)) {
> > - trace_xfs_healthmon_merge(hm, hm->last_event);
> > + if (xfs_healthmon_merge_events(hm, &lost_event)) {
> > + trace_xfs_healthmon_merge(hm, &lost_event);
>
> This traces the lost_event now, but the merge updates existing tail
> event. Is the change in behaviour intentional?
>
> > /* Try to merge with the newest event */
> > - if (xfs_healthmon_merge_events(hm->last_event, template)) {
> > - trace_xfs_healthmon_merge(hm, hm->last_event);
> > + if (xfs_healthmon_merge_events(hm, template)) {
> > + trace_xfs_healthmon_merge(hm, template);
>
> Same: the merge updates the existing tail event, but this traces the
> incoming template/event. Before this patch, surviving post-merge tail
> was traced.
Oops, that should become list_last_entry() for both.
--D
next prev parent reply other threads:[~2026-08-27 14:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 5:31 [PATCHSET v2 2/2] xfs: LLM-inspired bug fixes, part 8 Darrick J. Wong
2026-08-27 5:32 ` [PATCH 1/7] xfs: always set xfs_healthmon::first_event when inserting at front of list Darrick J. Wong
2026-08-31 6:54 ` Christoph Hellwig
2026-08-27 5:32 ` [PATCH 2/7] xfs: port healthmon event list to list_head Darrick J. Wong
2026-08-27 9:33 ` Anuj Gupta
2026-08-27 14:47 ` Darrick J. Wong [this message]
2026-08-31 6:58 ` Christoph Hellwig
2026-08-31 14:53 ` Darrick J. Wong
2026-08-31 6:58 ` Christoph Hellwig
2026-08-31 15:12 ` Darrick J. Wong
2026-08-27 5:33 ` [PATCH 3/7] xfs: check healthmon outbuffer space correctly Darrick J. Wong
2026-08-31 6:59 ` Christoph Hellwig
2026-08-27 5:33 ` [PATCH 4/7] xfs: merge healthmon insert/push helpers Darrick J. Wong
2026-08-31 6:59 ` Christoph Hellwig
2026-08-27 5:33 ` [PATCH 5/7] xfs: bump lost_prev_errors if we lose even the healthmon lost event Darrick J. Wong
2026-08-27 5:34 ` [PATCH 6/7] xfs: report nonexistent parents as a filesystem corruption Darrick J. Wong
2026-08-27 5:34 ` [PATCH 7/7] xfs: destroy seen inode bitmap when we fail to add a dirpath Darrick J. Wong
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=20260827144759.GC6072@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=anuj1072538@gmail.com \
--cc=cem@kernel.org \
--cc=hch@lst.de \
--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 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.