projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6f38d
)
deadline: Allow 0ms deadline latency, increase the read speed
author
xiaobing tu
<xiaobing.tu@intel.com>
Sun, 9 Dec 2012 18:19:23 +0000
(19:19 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Sun, 9 Dec 2012 18:19:23 +0000
(19:19 +0100)
Change a timer compare from after to after-equals, thus allowing
0 timeout and making deadline schedule FIFO.
Signed-off-by: xiaobing tu <xiaobing.tu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/deadline-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/deadline-iosched.c
b/block/deadline-iosched.c
index 599b12e5380f50aa32e35ec3096b035437842805..90037b5eb17fca86bc2212241a6d1916cf83960c 100644
(file)
--- a/
block/deadline-iosched.c
+++ b/
block/deadline-iosched.c
@@
-230,7
+230,7
@@
static inline int deadline_check_fifo(struct deadline_data *dd, int ddir)
/*
* rq is expired!
*/
- if (time_after(jiffies, rq_fifo_time(rq)))
+ if (time_after
_eq
(jiffies, rq_fifo_time(rq)))
return 1;
return 0;