FreeBSD Bugzilla – Attachment 185946 Details for
Bug 221954
cam iosched: Call cam_iosched_limiter_init() after ios->current is set to the default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cam iosched: Call cam_iosched_limiter_init() after ios->current is set to the default
0003-cam-iosched-Call-cam_iosched_limiter_init-after-ios-c.diff (text/plain), 1.09 KB, created by
Fabian Keil
on 2017-08-31 10:17:30 UTC
(
hide
)
Description:
cam iosched: Call cam_iosched_limiter_init() after ios->current is set to the default
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2017-08-31 10:17:30 UTC
Size:
1.09 KB
patch
obsolete
>From 4a71229c342eece54cbdd12bc602f42e4299c8dc Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >Date: Sun, 23 Jul 2017 12:45:42 +0200 >Subject: [PATCH 3/8] cam iosched: Call cam_iosched_limiter_init() after > ios->current is set to the default > >Previously ios->current was set to 0 until the first >cam_iosched_cl_maybe_steer() call. > >Obtained from: ElectroBSD >--- > sys/cam/cam_iosched.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/cam/cam_iosched.c b/sys/cam/cam_iosched.c >index 079f579433ec..8d39c32511c8 100644 >--- a/sys/cam/cam_iosched.c >+++ b/sys/cam/cam_iosched.c >@@ -747,9 +747,8 @@ cam_iosched_iop_stats_init(struct cam_iosched_softc *isc, struct iop_stats *ios) > { > > ios->limiter = none; >- cam_iosched_limiter_init(ios); > ios->in = 0; >- ios->max = 300000; >+ ios->max = ios->current = 300000; > ios->min = 1; > ios->out = 0; > ios->pending = 0; >@@ -758,6 +757,7 @@ cam_iosched_iop_stats_init(struct cam_iosched_softc *isc, struct iop_stats *ios) > ios->ema = 0; > ios->emvar = 0; > ios->softc = isc; >+ cam_iosched_limiter_init(ios); > } > > static int >-- >2.14.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221954
: 185946