| 178 | cond.notify_all(); |
| 179 | } |
| 180 | void queue_reset(Connection *con) { |
| 181 | std::lock_guard l{lock}; |
| 182 | if (stop) |
| 183 | return; |
| 184 | mqueue.enqueue_strict( |
| 185 | 0, |
| 186 | CEPH_MSG_PRIO_HIGHEST, |
| 187 | QueueItem(D_BAD_RESET, con)); |
| 188 | cond.notify_all(); |
| 189 | } |
| 190 | void queue_refused(Connection *con) { |
| 191 | std::lock_guard l{lock}; |
| 192 | if (stop) |
no test coverage detected