mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
msg/async: don't forget dec(Worker::references) when met error.
This will cause unbalance between workes. Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
This commit is contained in:
parent
550c447ad8
commit
5cf027d27e
@ -201,6 +201,7 @@ void Processor::accept()
|
||||
accept_error_num = 0;
|
||||
continue;
|
||||
} else {
|
||||
--w->references;
|
||||
if (r == -EINTR) {
|
||||
continue;
|
||||
} else if (r == -EAGAIN) {
|
||||
|
Loading…
Reference in New Issue
Block a user