Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/mio: fix hang when motr i/o op returns error (Seagate#1655)
When some motr i/o operation returns an error, doIO() just hangs. It's because due to the bug in the code we return back the same slot 2 times into the channel pool of free thread slots. Solution: fix the bug by returning the slot back only 1 time. Kudos to Sining Wu <sining.wu@seagate.com> for RCA. Signed-off-by: Andriy Tkachuk <andriy.tkachuk@seagate.com>
- Loading branch information