summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_map.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-09 08:27:04 +0300
committerDavid Sterba <dsterba@suse.com>2023-06-19 14:59:32 +0300
commit3887653c44ec1de089b8624bd53af05b946939e9 (patch)
tree5f4f166a79386c6f503d15540f27c6627ba7e99c /fs/btrfs/extent_map.c
parentcbfce4c7fbde23cc8bcba44822a58c728caf6ec9 (diff)
downloadlinux-3887653c44ec1de089b8624bd53af05b946939e9.tar.xz
btrfs: record orig_physical only for the original bio
btrfs_submit_dev_bio is also called for clone bios that aren't embedded into a btrfs_bio structure, but previous commit "btrfs: optimize the logical to physical mapping for zoned writes" added code to assign btrfs_bio.orig_physical in it. This is harmless right now as only the single data profile can be used on zoned devices, but will blow up when the RAID stripe tree is added. Move it out into the single I/O specific branch in the caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_map.c')
0 files changed, 0 insertions, 0 deletions