Thread (117 messages) 117 messages, 8 authors, 2021-05-30

Re: [Patch v2 00/42] btrfs: add data write support for subpage

From: Qu Wenruo <hidden>
Date: 2021-05-13 02:21:34


On 2021/5/13 上午7:48, Qu Wenruo wrote:

On 2021/5/13 上午6:18, David Sterba wrote:
quoted
On Wed, Apr 28, 2021 at 07:03:07AM +0800, Qu Wenruo wrote:
quoted
=== 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.
Yes. I believe they are OK for merge.

I have run the full tests on x86 VM for the whole patchset, no new
regression.

Especially patch 03~05 would benefit 4K page size the most, thus merging
them first would definitely help.

Just let me to run the tests with patch 1~13 only, to see if there is
any special dependency missing.
Yep, patch 1~13 with the v5 read time repair patches are safe for x86.

So they should be fine for the next merge window.

Thanks,
Qu
quoted
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.
I haven't touched those patches since v2 submission, thus there
shouldn't be any modification to them.
(At most some cosmetic change for the commit message/comments)
quoted
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.
Thanks a lot!
Qu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help