Skip to contentSkip to conversation

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves)

DISCUSSION Wang Yugui 4 participants 5 messages Jan 10, 2023

Subsystems (2)
lore
Share & tools
lore

Wang Yugui

author
#0 lore raw

Hi, Sasha Levin

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves) just like queue-6.0, and then drop its 8 depency patches.

the 2 of 8 depency patches are file rename, so it will make later depency patch become difficult?
#btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch #btrfs-move-flush-related-definitions-to-space-info.h.patch #btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch #btrfs-move-fs-wide-helpers-out-of-ctree.h.patch #btrfs-move-assert-helpers-out-of-ctree.h.patch #btrfs-move-the-printk-helpers-out-of-ctree.h.patch #**btrfs-rename-struct-funcs.c-to-accessors.c.patch #**btrfs-rename-tree-defrag.c-to-defrag.c.patch

and the patch(btrfs: fix an error handling path in btrfs_defrag_leaves) is small, so a rebase will be a good choice.

Best Regards
Wang Yugui ([email protected])
2023/01/10

maintainer
#1 lore raw
Quoted 16 lines · Wang Yugui

Hi, Sasha Levin

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves) just like queue-6.0, and then drop its 8 depency patches.

the 2 of 8 depency patches are file rename, so it will make later depency patch become difficult?
#btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch #btrfs-move-flush-related-definitions-to-space-info.h.patch #btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch #btrfs-move-fs-wide-helpers-out-of-ctree.h.patch #btrfs-move-assert-helpers-out-of-ctree.h.patch #btrfs-move-the-printk-helpers-out-of-ctree.h.patch #**btrfs-rename-struct-funcs.c-to-accessors.c.patch #**btrfs-rename-tree-defrag.c-to-defrag.c.patch

Quoted 2 lines

and the patch(btrfs: fix an error handling path in btrfs_defrag_leaves) is small, so a rebase will be a good choice.

I do not understand, sorry, we can not rebase anything, that's not how our patch queue works.

So what exactly do you want to see changed? What patches dropped? And what added?

thanks,

greg k-h

author
#2 lore raw

Hi,

Quoted 17 lines · Wang Yugui
Quoted 16 lines

Hi, Sasha Levin

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves) just like queue-6.0, and then drop its 8 depency patches.

the 2 of 8 depency patches are file rename, so it will make later depency patch become difficult?
#btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch #btrfs-move-flush-related-definitions-to-space-info.h.patch #btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch #btrfs-move-fs-wide-helpers-out-of-ctree.h.patch #btrfs-move-assert-helpers-out-of-ctree.h.patch #btrfs-move-the-printk-helpers-out-of-ctree.h.patch #**btrfs-rename-struct-funcs.c-to-accessors.c.patch #**btrfs-rename-tree-defrag.c-to-defrag.c.patch

Quoted 8 lines
Quoted 2 lines

and the patch(btrfs: fix an error handling path in btrfs_defrag_leaves) is small, so a rebase will be a good choice.

I do not understand, sorry, we can not rebase anything, that's not how our patch queue works.

So what exactly do you want to see changed? What patches dropped? And what added?

What I suggest:

1)replace queue-6.1/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch
with queue-6.0/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch

2) drop pathes in queue-6.1/ btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch btrfs-move-flush-related-definitions-to-space-info.h.patch btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch btrfs-move-fs-wide-helpers-out-of-ctree.h.patch btrfs-move-assert-helpers-out-of-ctree.h.patch btrfs-move-the-printk-helpers-out-of-ctree.h.patch btrfs-rename-struct-funcs.c-to-accessors.c.patch btrfs-rename-tree-defrag.c-to-defrag.c.patch

Best Regards
Wang Yugui ([email protected])
2023/01/10

Quoted 3 lines

thanks,

greg k-h

#3 lore raw
Quoted 33 lines · Wang Yugui

Hi,

Quoted 17 lines · Wang Yugui
Quoted 16 lines

Hi, Sasha Levin

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves) just like queue-6.0, and then drop its 8 depency patches.

the 2 of 8 depency patches are file rename, so it will make later depency patch become difficult?
#btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch #btrfs-move-flush-related-definitions-to-space-info.h.patch #btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch #btrfs-move-fs-wide-helpers-out-of-ctree.h.patch #btrfs-move-assert-helpers-out-of-ctree.h.patch #btrfs-move-the-printk-helpers-out-of-ctree.h.patch #**btrfs-rename-struct-funcs.c-to-accessors.c.patch #**btrfs-rename-tree-defrag.c-to-defrag.c.patch

Quoted 8 lines
Quoted 2 lines

and the patch(btrfs: fix an error handling path in btrfs_defrag_leaves) is small, so a rebase will be a good choice.

I do not understand, sorry, we can not rebase anything, that's not how our patch queue works.

So what exactly do you want to see changed? What patches dropped? And what added?

What I suggest:

1)replace queue-6.1/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch
with queue-6.0/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch

Quoted 9 lines

2) drop pathes in queue-6.1/ btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch btrfs-move-flush-related-definitions-to-space-info.h.patch btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch btrfs-move-fs-wide-helpers-out-of-ctree.h.patch btrfs-move-assert-helpers-out-of-ctree.h.patch btrfs-move-the-printk-helpers-out-of-ctree.h.patch btrfs-rename-struct-funcs.c-to-accessors.c.patch btrfs-rename-tree-defrag.c-to-defrag.c.patch

Right, I'd rather not add all the code moving patches to stable though I understand that it could ease backporting. Many stable backports need to be adapted to versions before/after the code moves so the work has to be done anyway.

maintainer
#4 lore raw
Quoted 44 lines · David Sterba
Quoted 33 lines · Wang Yugui

Hi,

Quoted 17 lines · Wang Yugui
Quoted 16 lines

Hi, Sasha Levin

please rebase the patch queue-6.1(btrfs: fix an error handling path in btrfs_defrag_leaves) just like queue-6.0, and then drop its 8 depency patches.

the 2 of 8 depency patches are file rename, so it will make later depency patch become difficult?
#btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch #btrfs-move-flush-related-definitions-to-space-info.h.patch #btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch #btrfs-move-fs-wide-helpers-out-of-ctree.h.patch #btrfs-move-assert-helpers-out-of-ctree.h.patch #btrfs-move-the-printk-helpers-out-of-ctree.h.patch #**btrfs-rename-struct-funcs.c-to-accessors.c.patch #**btrfs-rename-tree-defrag.c-to-defrag.c.patch

Quoted 8 lines
Quoted 2 lines

and the patch(btrfs: fix an error handling path in btrfs_defrag_leaves) is small, so a rebase will be a good choice.

I do not understand, sorry, we can not rebase anything, that's not how our patch queue works.

So what exactly do you want to see changed? What patches dropped? And what added?

What I suggest:

1)replace queue-6.1/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch
with queue-6.0/btrfs-fix-an-error-handling-path-in-btrfs_defrag_lea.patch

Quoted 9 lines

2) drop pathes in queue-6.1/ btrfs-move-btrfs_get_block_group-helper-out-of-disk-.patch btrfs-move-flush-related-definitions-to-space-info.h.patch btrfs-move-btrfs_print_data_csum_error-into-inode.c.patch btrfs-move-fs-wide-helpers-out-of-ctree.h.patch btrfs-move-assert-helpers-out-of-ctree.h.patch btrfs-move-the-printk-helpers-out-of-ctree.h.patch btrfs-rename-struct-funcs.c-to-accessors.c.patch btrfs-rename-tree-defrag.c-to-defrag.c.patch

Quoted 4 lines

Right, I'd rather not add all the code moving patches to stable though I understand that it could ease backporting. Many stable backports need to be adapted to versions before/after the code moves so the work has to be done anyway.

Okay, done.

Signature · 2 lines
Thanks,
Sasha