diff options
author | Qu Wenruo <wqu@suse.com> | 2021-09-15 15:17:16 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-21 21:24:32 +0200 |
commit | d2faf8ed1dc28b709cde51317ee28577082679d2 (patch) | |
tree | 43ea4f4cd7f59eda2094e068f7d0fa833a1e00be /drivers/usb/cdns3/cdnsp-trace.c | |
parent | a06248fa62ef584daacaeb0aa12f8009ad297492 (diff) |
btrfs: rename btrfs_bio to btrfs_io_context
[ Upstream commit 4c6646117912397d026d70c04d92ec1599522e9f ]
The structure btrfs_bio is used by two different sites:
- bio->bi_private for mirror based profiles
For those profiles (SINGLE/DUP/RAID1*/RAID10), this structures records
how many mirrors are still pending, and save the original endio
function of the bio.
- RAID56 code
In that case, RAID56 only utilize the stripes info, and no long uses
that to trace the pending mirrors.
So btrfs_bio is 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>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-trace.c')
0 files changed, 0 insertions, 0 deletions