diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-05-01 22:53:13 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-05-01 22:54:15 +0000 |
commit | 1599fc904d35cfa8eecad92818d1f4b55de6818f (patch) | |
tree | bb874c11111ddac172f9f6753912ded0a4626892 /sys/cam | |
parent | 47d75c29f5510ad844f0bc7fbc07d481ebb7fd9e (diff) | |
download | src-1599fc904d35cfa8eecad92818d1f4b55de6818f.tar.gz src-1599fc904d35cfa8eecad92818d1f4b55de6818f.zip |
iosched: Move bio_next() inside of the CAM_IOSCHED_DYNAMIC ifdef
bio_next() is only used by the dynamic scheduler, so move it under that
ifdef.
Sponsored by: Netflix
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c index c1e11419856b..89e8a2f58212 100644 --- a/sys/cam/cam_iosched.c +++ b/sys/cam/cam_iosched.c @@ -1505,6 +1505,7 @@ cam_iosched_get_trim(struct cam_iosched_softc *isc) } +#ifdef CAM_IOSCHED_DYNAMIC static struct bio * bio_next(struct bio *bp) { @@ -1518,7 +1519,6 @@ bio_next(struct bio *bp) return bp; } -#ifdef CAM_IOSCHED_DYNAMIC static bool cam_iosched_rate_limited(struct iop_stats *ios) { |