mbox series

[v2,0/3] Convert btrfs defrag to use folios

Message ID 20231214161331.2022416-1-willy@infradead.org (mailing list archive)
Headers show
Series Convert btrfs defrag to use folios | expand

Message

Matthew Wilcox Dec. 14, 2023, 4:13 p.m. UTC
Use the folio APIs throughout the defrag process.

v2:
 - Add set_folio_extent_mapped()
 - Rebase to next-20231214

Matthew Wilcox (Oracle) (3):
  btrfs; Add set_folio_extent_mapped()
  btrfs: Convert defrag_prepare_one_page() to use a folio
  btrfs: Use a folio array throughout the defrag process

 fs/btrfs/defrag.c    | 93 ++++++++++++++++++++++----------------------
 fs/btrfs/extent_io.c | 12 ++++--
 fs/btrfs/extent_io.h |  1 +
 3 files changed, 55 insertions(+), 51 deletions(-)

Comments

Johannes Thumshirn Dec. 15, 2023, 2:31 p.m. UTC | #1
On 14.12.23 17:14, Matthew Wilcox (Oracle) wrote:
> Use the folio APIs throughout the defrag process.
> 
> v2:
>   - Add set_folio_extent_mapped()
>   - Rebase to next-20231214
> 
> Matthew Wilcox (Oracle) (3):
>    btrfs; Add set_folio_extent_mapped()
>    btrfs: Convert defrag_prepare_one_page() to use a folio
>    btrfs: Use a folio array throughout the defrag process
> 
>   fs/btrfs/defrag.c    | 93 ++++++++++++++++++++++----------------------
>   fs/btrfs/extent_io.c | 12 ++++--
>   fs/btrfs/extent_io.h |  1 +
>   3 files changed, 55 insertions(+), 51 deletions(-)
> 

Apart from the nit in 3/3
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
David Sterba Jan. 11, 2024, 5:54 p.m. UTC | #2
On Thu, Dec 14, 2023 at 04:13:28PM +0000, Matthew Wilcox (Oracle) wrote:
> Use the folio APIs throughout the defrag process.
> 
> v2:
>  - Add set_folio_extent_mapped()
>  - Rebase to next-20231214
> 
> Matthew Wilcox (Oracle) (3):
>   btrfs; Add set_folio_extent_mapped()
>   btrfs: Convert defrag_prepare_one_page() to use a folio
>   btrfs: Use a folio array throughout the defrag process

Added to misc-next, thanks.