On Wed, Mar 23, 2022 at 09:08:44AM +0800, Qu Wenruo wrote: > > > On 2022/3/22 23:55, Christoph Hellwig wrote: >> Clear need_raid_map early instead of repeating the same conditional over >> and over. > > I had a more comprehensive cleanup, but only for scrub: > https://lore.kernel.org/linux-btrfs/cover.1646984153.git.wqu@xxxxxxxx/ I'll take a look. I mostly wanted to avoid checking the same conditional yet again for fast path added later in this series.