mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tavian Barnes <tavianator@tavianator.com>
To: linux-btrfs@vger.kernel.org
Cc: Qu Wenruo <wqu@suse.com>,
	Tavian Barnes <tavianator@tavianator.com>,
	Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
	David Sterba <dsterba@suse.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] extent_buffer read cleanups
Date: Mon, 18 Mar 2024 09:56:52 -0400	[thread overview]
Message-ID: <cover.1710769876.git.tavianator@tavianator.com> (raw)

This small series refactors some duplicated code introduced by a recent
bugfix (which was intentionally duplicated to make stable backports
easier), and adds a WARN_ON() to make it easier to debug similar issues
in the future.

Link: https://lore.kernel.org/linux-btrfs/20240317203508.GA5975@lst.de/T/

Tavian Barnes (2):
  btrfs: New helper to clear EXTENT_BUFFER_READING
  btrfs: WARN if EXTENT_BUFFER_UPTODATE is set while reading

 fs/btrfs/extent_io.c | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

-- 
2.44.0


             reply	other threads:[~2024-03-18 13:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 13:56 Tavian Barnes [this message]
2024-03-18 13:56 ` [PATCH 1/2] btrfs: New helper to clear EXTENT_BUFFER_READING Tavian Barnes
2024-03-18 20:00   ` Qu Wenruo
2024-03-18 13:56 ` [PATCH 2/2] btrfs: WARN if EXTENT_BUFFER_UPTODATE is set while reading Tavian Barnes
2024-03-18 20:02   ` Qu Wenruo
2024-03-22 19:22 ` [PATCH 0/2] extent_buffer read cleanups David Sterba

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=cover.1710769876.git.tavianator@tavianator.com \
    --to=tavianator@tavianator.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wqu@suse.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

Powered by JetHome