Thread (21 messages) 21 messages, 4 authors, 2021-08-27

Re: [PATCH v5 00/11] btrfs: defrag: rework to support sector perfect defrag

From: David Sterba <hidden>
Date: 2021-08-23 19:46:05

On Fri, Aug 06, 2021 at 04:12:31PM +0800, Qu Wenruo wrote:
Now both regular sectorsize and subpage sectorsize can pass defrag test
group.
Qu Wenruo (11):
  btrfs: defrag: pass file_ra_state instead of file for
    btrfs_defrag_file()
  btrfs: defrag: also check PagePrivate for subpage cases in
    cluster_pages_for_defrag()
  btrfs: defrag: replace hard coded PAGE_SIZE to sectorsize
  btrfs: defrag: extract the page preparation code into one helper
  btrfs: defrag: introduce a new helper to collect target file extents
  btrfs: defrag: introduce a helper to defrag a continuous prepared
    range
  btrfs: defrag: introduce a helper to defrag a range
  btrfs: defrag: introduce a new helper to defrag one cluster
  btrfs: defrag: use defrag_one_cluster() to implement
    btrfs_defrag_file()
  btrfs: defrag: remove the old infrastructure
  btrfs: defrag: enable defrag for subpage case
The patch 9 was taken from your git repository. Patchset now in a topic
branch, I'll do one round and then move it to misc-next. Any followups
please send as separate patches, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help