Re: [Patch v2 00/42] btrfs: add data write support for subpage
From: David Sterba <hidden>
Date: 2021-05-12 23:12:42
On Wed, Apr 28, 2021 at 07:03:07AM +0800, Qu Wenruo wrote:
=== Patchset structure === Patch 01~02: hardcoded PAGE_SIZE related fixes Patch 03~05: submit_extent_page() refactor which will reduce overhead for write path. This should benefit 4K page the most. Although the primary objective is just to make the code easier to read. Patch 06: Cleanup for metadata writepath, to reduce the impact on regular sectorsize path. Patch 07~13: PagePrivate2 and ordered extent related refactor. Although it's still a refactor, the refactor is pretty important for subpage data write path, as for subpage we could have btrfs_writepage_endio_finish_ordered() call across several sectors, which may or may not have ordered extent for those sectors. ^^^ Above patches are all subpage data write preparation ^^^
Do you think the patches 1-13 are safe to be merged independently? I've paged through the whole patchset and some of the patches are obviously preparatory stuff so they can go in without much risk. I haven't looked at your git if there are updates from what was posted, but I don't expect any significant changes, but what I saw looked ok to me. If there are changes, please post 1-13 (ie. all the preparatory patches), I'll put them to misc-next so you can focus on the rest.