aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-mod-log.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-05-24 15:03:15 +0000
committerDavid Sterba <[email protected]>2023-06-19 11:59:33 +0000
commit52b1fdca23ac0fbcad363a1a5b426bf0d56b715a (patch)
tree6fd188cbe873d5ba865d684e18802bd39f9c368e /fs/btrfs/tree-mod-log.c
parentbtrfs: atomically insert the new extent in btrfs_split_ordered_extent (diff)
downloadkernel-52b1fdca23ac0fbcad363a1a5b426bf0d56b715a.tar.gz
kernel-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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions