diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-09-19 17:46:15 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2016-09-19 17:46:15 +0000 |
commit | bbdd6614bd6bccd5efd63e5ba0f98ec809402faa (patch) | |
tree | 0a39725e57ab7205384532ce2f424ebee43cca2f /sys/geom | |
parent | cbf42683f83d34511a44bb153e7c137343a89b93 (diff) | |
download | src-bbdd6614bd6bccd5efd63e5ba0f98ec809402faa.tar.gz src-bbdd6614bd6bccd5efd63e5ba0f98ec809402faa.zip |
Remove unused bio_taskqueue().
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=305988
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_io.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index 401c20f24286..d8f9302848ff 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -884,26 +884,6 @@ g_io_schedule_down(struct thread *tp __unused) } void -bio_taskqueue(struct bio *bp, bio_task_t *func, void *arg) -{ - bp->bio_task = func; - bp->bio_task_arg = arg; - /* - * The taskqueue is actually just a second queue off the "up" - * queue, so we use the same lock. - */ - g_bioq_lock(&g_bio_run_up); - KASSERT(!(bp->bio_flags & BIO_ONQUEUE), - ("Bio already on queue bp=%p target taskq", bp)); - bp->bio_flags |= BIO_ONQUEUE; - TAILQ_INSERT_TAIL(&g_bio_run_task.bio_queue, bp, bio_queue); - g_bio_run_task.bio_queue_length++; - wakeup(&g_wait_up); - g_bioq_unlock(&g_bio_run_up); -} - - -void g_io_schedule_up(struct thread *tp __unused) { struct bio *bp; |