Re: [PATCH v2 1/3] btrfs: rename btrfs_bio to btrfs_io_context

Qu Wenruo
2021-09-15T06:02:36Z

On 2021/9/15 上午12:42, David Sterba wrote:
> On Tue, Sep 14, 2021 at 09:25:41AM +0800, Qu Wenruo wrote:
>> The structure btrfs_bio is mostly used for stripe submission, and it its
>> used by SINGLE/DUP/RAID1*/RAID10, while only parse stripe map layout for
>> RAID56.
>>
>> Currently it's not always bind to a bio, and contains more info for IO
>> context, thus renaming it will make the naming less confusing.
>>
>> Signed-off-by: Qu Wenruo <wqu@suse.com>
[...]
>> {
>> - struct btrfs_bio *bbio = rbio->bbio;
>> + struct btrfs_io_context *bioc= rbio->bioc;
>
> This looks like a systematic error with some replacement expression
> missing the space before '='

All my bad. I get too used to "dw" of vim, which will also delete the
space after the current word.

I should use "de" instead...

Thanks,
Qu