Set priority of vdev_geom threads and zvol threads to PRIBIO.
This commit is contained in:
parent
97a1f428d9
commit
2009ac01b8
@ -194,6 +194,10 @@ vdev_geom_worker(void *arg)
|
||||
zio_t *zio;
|
||||
struct bio *bp;
|
||||
|
||||
thread_lock(curthread);
|
||||
sched_prio(curthread, PRIBIO);
|
||||
thread_unlock(curthread);
|
||||
|
||||
ctx = arg;
|
||||
for (;;) {
|
||||
mtx_lock(&ctx->gc_queue_mtx);
|
||||
|
@ -402,6 +402,10 @@ zvol_worker(void *arg)
|
||||
zvol_state_t *zv;
|
||||
struct bio *bp;
|
||||
|
||||
thread_lock(curthread);
|
||||
sched_prio(curthread, PRIBIO);
|
||||
thread_unlock(curthread);
|
||||
|
||||
zv = arg;
|
||||
for (;;) {
|
||||
mtx_lock(&zv->zv_queue_mtx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user