Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
95e8810b
Commit
95e8810b
authored
Jul 11, 2006
by
Jens Axboe
Committed by
Jens Axboe
Sep 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cfq-iosched: convert to using the FIFO elevator defines
Signed-off-by:
Jens Axboe
<
axboe@suse.de
>
parent
1fbfdfcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
block/cfq-iosched.c
block/cfq-iosched.c
+1
-2
No files found.
block/cfq-iosched.c
View file @
95e8810b
...
...
@@ -42,7 +42,6 @@ static DEFINE_SPINLOCK(cfq_exit_lock);
#define list_entry_qhash(entry) hlist_entry((entry), struct cfq_queue, cfq_hash)
#define list_entry_cfqq(ptr) list_entry((ptr), struct cfq_queue, cfq_list)
#define list_entry_fifo(ptr) list_entry((ptr), struct request, queuelist)
#define RQ_DATA(rq) (rq)->elevator_private
...
...
@@ -840,7 +839,7 @@ static inline struct cfq_rq *cfq_check_fifo(struct cfq_queue *cfqq)
if
(
!
list_empty
(
&
cfqq
->
fifo
))
{
int
fifo
=
cfq_cfqq_class_sync
(
cfqq
);
crq
=
RQ_DATA
(
list
_entry_fifo
(
cfqq
->
fifo
.
next
));
crq
=
RQ_DATA
(
rq
_entry_fifo
(
cfqq
->
fifo
.
next
));
rq
=
crq
->
request
;
if
(
time_after
(
jiffies
,
rq
->
start_time
+
cfqd
->
cfq_fifo_expire
[
fifo
]))
{
cfq_mark_cfqq_fifo_expire
(
cfqq
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment