diff options
author | Qu Wenruo <[email protected]> | 2023-07-15 19:08:32 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-08-21 14:52:17 +0200 |
commit | 682a0bc5573f3c10a435fb9650c856bb325d2733 (patch) | |
tree | 361469ca2e9627dbd08e1366f342b109d1fd8776 /fs/btrfs/dev-replace.c | |
parent | 54948681c21171a67c2fe03adcce54901e39dfe3 (diff) |
btrfs: copy all pages at once at the end of btrfs_clone_extent_buffer()
btrfs_clone_extent_buffer() calls copy_page() at each iteration but we
can copy all pages at the end in one go if there were no errors.
This would make later conversion to folios easier.
Reviewed-by: Sweet Tea Dorminy <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions