[pve-devel] [[PATCH kernel]] fix 5683: netfs: reset subreq iov iter before tail clean

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 23 10:28:00 CEST 2024


Am 22/10/2024 um 17:46 schrieb Christian Ebner:
> I refrained from doing so as I saw that typically fixes to mainline are 
> back-ported to stable, but since this is already fixed in the latest 
> version, I was hoping for upstream guidance on how to proceed 
> (unfortunately without reply).

Hmm, true, this makes it a bit more complicated.
If you submit it then to stable and the maintainers should definitively should
add the context for why a 1:1 cherry-pick is not an option, like it being rather
huge and the fixing the misalignment as side effect of correcting the tracking
of subreq->transferred where sensible before calling into the new
netfs_read_subreq_terminated helper that replaced the netfs_subreq_terminated
one you're adapting here, at least FWICT.

So FWIW, while I also would prefer some comment from upstream, I'm also fine
with applying this now, as it seems reasonable workaround and letting the kernel
through to the test repo to allow those affected to test it would also to get us
some more QA out of this patch before moving it to more stable repos.




More information about the pve-devel mailing list