aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2019-12-29 21:16:03 +0000
committerAlexander Motin <mav@FreeBSD.org>2019-12-29 21:16:03 +0000
commit86c06ff8864bc0e2233980c741b689714000850d (patch)
tree7a17d62013a575a1a0a8eaf6d509c5e0d8b2907f /sys/sys/bio.h
parent2a73387f1c342808c4939305f019deea9245ff25 (diff)
downloadsrc-86c06ff8864bc0e2233980c741b689714000850d.tar.gz
src-86c06ff8864bc0e2233980c741b689714000850d.zip
Remove GEOM_SCHED class and gsched tool.
This code was not actively maintained since it was introduced 10 years ago. It lacks support for many later GEOM features, such as direct dispatch, unmapped I/O, stripesize/stripeoffset, resize, etc. Plus it is the only remaining use of GEOM nstart/nend request counters, used there to implement live insertion/removal, questionable by itself. Plus, as number of people commented, GEOM is not the best place for I/O scheduler, since it has limited information about layers both above and below it, required for efficient scheduling. Plus with the modern shift to SSDs there is just no more significant need for this kind of scheduling. Approved by: imp, phk, luigi Relnotes: yes
Notes
Notes: svn path=/head/; revision=356185
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 488f3039778d..5fdf0ecbb917 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -79,9 +79,6 @@ struct disk;
struct bio;
struct vm_map;
-/* Empty classifier tag, to prevent further classification. */
-#define BIO_NOTCLASSIFIED (void *)(~0UL)
-
typedef void bio_task_t(void *);
/*
@@ -122,8 +119,8 @@ struct bio {
bio_task_t *bio_task; /* Task_queue handler */
void *bio_task_arg; /* Argument to above */
- void *bio_classifier1; /* Classifier tag. */
- void *bio_classifier2; /* Classifier tag. */
+ void *bio_spare1;
+ void *bio_spare2;
#ifdef DIAGNOSTIC
void *_bio_caller1;