All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Christoph Hellwig <hch@lst.de>
Cc: dsterba@suse.com, josef@toxicpanda.com, clm@fb.com,
	quwenruo.btrfs@gmx.com, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: fix the uptodate assert in btree_csum_one_bio
Date: Fri, 26 May 2023 16:03:53 +0200	[thread overview]
Message-ID: <20230526140353.GE14830@suse.cz> (raw)
In-Reply-To: <20230526090109.1982022-1-hch@lst.de>

On Fri, May 26, 2023 at 11:01:09AM +0200, Christoph Hellwig wrote:
> btree_csum_one_bio needs to use the btrfs_page_test_uptodate helper
> to check for uptodate status as the page might not be marked uptodate
> for a sub-page size buffer.
> 
> Fixes: 5067444c99c3 ("btrfs: remove the extent_buffer lookup in btree block checksumming")

Folded to the patch, thanks.

> Reported-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Tested-by: Qu Wenruo <quwenruo.btrfs@gmx.com>


      parent reply	other threads:[~2023-05-26 14:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26  9:01 [PATCH] btrfs: fix the uptodate assert in btree_csum_one_bio Christoph Hellwig
2023-05-26  9:05 ` Qu Wenruo
2023-05-26 14:03 ` David Sterba [this message]

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=20230526140353.GE14830@suse.cz \
    --to=dsterba@suse.cz \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=hch@lst.de \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.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 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.