diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-05-24 17:03:15 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:33 +0200 |
| commit | 52b1fdca23ac0fbcad363a1a5b426bf0d56b715a (patch) | |
| tree | 6fd188cbe873d5ba865d684e18802bd39f9c368e /fs/btrfs/dev-replace.c | |
| parent | btrfs: atomically insert the new extent in btrfs_split_ordered_extent (diff) | |
| download | linux-52b1fdca23ac0fbcad363a1a5b426bf0d56b715a.tar.gz linux-52b1fdca23ac0fbcad363a1a5b426bf0d56b715a.zip | |
btrfs: handle completed ordered extents in btrfs_split_ordered_extent
To delay splitting ordered_extents to I/O completion time we need to be
able to handle fully completed ordered extents in
btrfs_split_ordered_extent. Besides a bit of accounting this primarily
involved moving over the csums to the split bio for the range that it
covers, which is simple enough because we always have one
btrfs_ordered_sum per bio.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
