On 17.01.25 10:23, Pavel Tikhomirov wrote:
Seems like an excess patch (leads to double ploop_pio_endio), as the
only caller of ploop_data_pio_end already does:
Agree, dropped
if (pio->is_data_alloc) {
completed = ploop_data_pio_end(pio);
if (!compl
Seems like an excess patch (leads to double ploop_pio_endio), as the
only caller of ploop_data_pio_end already does:
if (pio->is_data_alloc) {
completed = ploop_data_pio_end(pio);
if (!completed)
return;
}
ploop_pio
Fix a bug in ploop_data_pio_end.
If piwb is already completed, which can happen if we attach
a flush pio to it, pio is not added to the list and ploop_pio_endio
is never called on it. This results in a hang since pio is never completed.
Avoid this by calling ploop_pio_endio directly in case piwb