Dear developers, thank you for your checking! It seems that the lock &rdev->caw_lock may not be released correctly if the ret == TCMU_STS_ASYNC_HANDLED is true. Should it be a real bug? I think the fix is to insert pthread_mutex_unlock(&rdev->caw_lock); before returning.
Dear developers, thank you for your checking! It seems that the lock &rdev->caw_lock may not be released correctly if the
ret == TCMU_STS_ASYNC_HANDLED
is true. Should it be a real bug? I think the fix is to insertpthread_mutex_unlock(&rdev->caw_lock);
before returning.https://github.com/open-iscsi/tcmu-runner/blob/06d64ab78c2898c032fe5be93f9ae6f64b199d5b/tcmur_cmd_handler.c#L1731 https://github.com/open-iscsi/tcmu-runner/blob/06d64ab78c2898c032fe5be93f9ae6f64b199d5b/tcmur_cmd_handler.c#L1736
Best,