Minor cleanups.
MFC after: 3 days
This commit is contained in:
parent
43b8675beb
commit
3f5bce1822
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226857
@ -1556,6 +1556,7 @@ remote_recv_thread(void *arg)
|
|||||||
&hio_recv_list_lock[ncomp]);
|
&hio_recv_list_lock[ncomp]);
|
||||||
}
|
}
|
||||||
mtx_unlock(&hio_recv_list_lock[ncomp]);
|
mtx_unlock(&hio_recv_list_lock[ncomp]);
|
||||||
|
|
||||||
rw_rlock(&hio_remote_lock[ncomp]);
|
rw_rlock(&hio_remote_lock[ncomp]);
|
||||||
if (!ISCONNECTED(res, ncomp)) {
|
if (!ISCONNECTED(res, ncomp)) {
|
||||||
rw_unlock(&hio_remote_lock[ncomp]);
|
rw_unlock(&hio_remote_lock[ncomp]);
|
||||||
@ -1963,7 +1964,7 @@ sync_thread(void *arg __unused)
|
|||||||
}
|
}
|
||||||
mtx_unlock(&metadata_lock);
|
mtx_unlock(&metadata_lock);
|
||||||
|
|
||||||
pjdlog_debug(2, "sync: (%p) Moving request to the send queues.",
|
pjdlog_debug(2, "sync: (%p) Moving request to the send queue.",
|
||||||
hio);
|
hio);
|
||||||
refcount_init(&hio->hio_countdown, 1);
|
refcount_init(&hio->hio_countdown, 1);
|
||||||
QUEUE_INSERT1(hio, send, ncomp);
|
QUEUE_INSERT1(hio, send, ncomp);
|
||||||
|
Loading…
Reference in New Issue
Block a user