Message ID | 20210806081242.257996-1-wqu@suse.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: defrag: rework to support sector perfect defrag | expand |
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.
On Mon, Aug 23, 2021 at 09:43:03PM +0200, David Sterba wrote: > 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. Now moved to misc-next, thanks.