[ldv-project] [PATCH 5.10 0/2] io_uring: fix cancel files hangs

Fedor Pchelkin pchelkin at ispras.ru
Sat Aug 20 23:50:42 MSK 2022


Hi Pavel,

we are facing the hangs you described in the following patches. Those
patches with minor adaptive changes apply to 5.10 stable tree and fix the
problem but it is a bit confusing that I can't find them in any kernel
version.

In kernels after 5.10 the whole canceling logic was restructured.

Those patches can't be cleanly applied to 5.10 stable branch most due to
the technical changes introduced with 9936c7c2bc76 
("io_uring: deduplicate core cancellations sequence"). I made the adaptive
changes and suppose they are not critical but not absolutely sure about it.

Could you tell please if the patches can be safely applied to 5.10 stable
tree?

Link to original series: https://www.spinics.net/lists/io-uring/msg06654.html

Fedor



More information about the ldv-project mailing list