Hi Stefan, this is my version of your patch. I think the flow of the code is a bit simpler (or at least matches other implementations of cancellation). Can you test it on your test case?
Thanks! Paolo Paolo Bonzini (3): iscsi: move iscsi_schedule_bh and iscsi_readv_writev_bh_cb iscsi: simplify iscsi_schedule_bh iscsi: fix races between task completion and abort block/iscsi.c | 114 +++++++++++++++++++++++++++------------------------------- 1 file modificato, 52 inserzioni(+), 62 rimozioni(-) -- 1.7.11.2