Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9430d91b
Commit
9430d91b
authored
Jul 18, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put the requeue hack back into as-iosched.c
parent
64857786
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/block/as-iosched.c
drivers/block/as-iosched.c
+10
-0
No files found.
drivers/block/as-iosched.c
View file @
9430d91b
...
...
@@ -1306,6 +1306,15 @@ static void as_add_request(struct as_data *ad, struct as_rq *arq)
as_update_arq
(
ad
,
arq
);
/* keep state machine up to date */
}
/*
* FIXME: HACK for AS requeue problems
*/
static
void
as_requeue_request
(
request_queue_t
*
q
,
struct
request
*
rq
)
{
elv_completed_request
(
q
,
rq
);
__elv_add_request
(
q
,
rq
,
0
,
0
);
}
static
void
as_insert_request
(
request_queue_t
*
q
,
struct
request
*
rq
,
struct
list_head
*
insert_here
)
...
...
@@ -1821,6 +1830,7 @@ elevator_t iosched_as = {
.
elevator_next_req_fn
=
as_next_request
,
.
elevator_add_req_fn
=
as_insert_request
,
.
elevator_remove_req_fn
=
as_remove_request
,
.
elevator_requeue_req_fn
=
as_requeue_request
,
.
elevator_queue_empty_fn
=
as_queue_empty
,
.
elevator_completed_req_fn
=
as_completed_request
,
.
elevator_former_req_fn
=
as_former_request
,
...
...
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