mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Thumshirn <Johannes.Thumshirn@wdc.com>
To: Johannes Thumshirn <jth@kernel.org>, Chris Mason <clm@fb.com>,
	Josef Bacik <josef@toxicpanda.com>,
	David Sterba <dsterba@suse.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Filipe Manana <fdmanana@suse.com>
Subject: Re: [PATCH] btrfs: relax dev_replace rwsem usage on scrub with rst
Date: Wed, 14 Aug 2024 13:08:06 +0000	[thread overview]
Message-ID: <3a9f47b1-c8c7-49c6-b3ca-5ad5b68cbd8f@wdc.com> (raw)
In-Reply-To: <20240814-dev_replace_rwsem-new-v1-1-c42120994ce6@kernel.org>

On 14.08.24 14:46, Johannes Thumshirn wrote:
> +		if (rst && dev_replace_is_ongoing)
> +			up_read(&dev_replace->rwsem);
>   		for (int i = 0; i < io_geom.num_stripes; i++) {
>   			ret = set_io_stripe(fs_info, logical, length,
>   					    &bioc->stripes[i], map, &io_geom);
> +
>   			if (ret < 0)
>   				break;
>   			io_geom.stripe_index++;
>   		}

That stray newline was added by accident, I'll remove it if there's a 
need for a v2 or when applying.

  reply	other threads:[~2024-08-14 13:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14 12:45 Johannes Thumshirn
2024-08-14 13:08 ` Johannes Thumshirn [this message]
2024-08-14 13:31 ` Filipe Manana
2024-08-14 14:12   ` Filipe Manana
2024-08-14 14:15     ` Johannes Thumshirn
2024-08-15 10:55     ` Johannes Thumshirn

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=3a9f47b1-c8c7-49c6-b3ca-5ad5b68cbd8f@wdc.com \
    --to=johannes.thumshirn@wdc.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=fdmanana@suse.com \
    --cc=josef@toxicpanda.com \
    --cc=jth@kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@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®