[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3a9f47b1-c8c7-49c6-b3ca-5ad5b68cbd8f@wdc.com>
Date: Wed, 14 Aug 2024 13:08:06 +0000
From: Johannes Thumshirn <Johannes.Thumshirn@....com>
To: Johannes Thumshirn <jth@...nel.org>, Chris Mason <clm@...com>, Josef Bacik
<josef@...icpanda.com>, David Sterba <dsterba@...e.com>
CC: "linux-btrfs@...r.kernel.org" <linux-btrfs@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Filipe Manana
<fdmanana@...e.com>
Subject: Re: [PATCH] btrfs: relax dev_replace rwsem usage on scrub with rst
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.
Powered by blists - more mailing lists