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
25975f86
Commit
25975f86
authored
Mar 12, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] stop cfq from pinning queue down
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
d9ff4187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
block/cfq-iosched.c
block/cfq-iosched.c
+0
-4
No files found.
block/cfq-iosched.c
View file @
25975f86
...
@@ -2121,13 +2121,10 @@ static void cfq_shutdown_timer_wq(struct cfq_data *cfqd)
...
@@ -2121,13 +2121,10 @@ static void cfq_shutdown_timer_wq(struct cfq_data *cfqd)
static
void
cfq_put_cfqd
(
struct
cfq_data
*
cfqd
)
static
void
cfq_put_cfqd
(
struct
cfq_data
*
cfqd
)
{
{
request_queue_t
*
q
=
cfqd
->
queue
;
if
(
!
atomic_dec_and_test
(
&
cfqd
->
ref
))
if
(
!
atomic_dec_and_test
(
&
cfqd
->
ref
))
return
;
return
;
cfq_shutdown_timer_wq
(
cfqd
);
cfq_shutdown_timer_wq
(
cfqd
);
blk_put_queue
(
q
);
mempool_destroy
(
cfqd
->
crq_pool
);
mempool_destroy
(
cfqd
->
crq_pool
);
kfree
(
cfqd
->
crq_hash
);
kfree
(
cfqd
->
crq_hash
);
...
@@ -2205,7 +2202,6 @@ static int cfq_init_queue(request_queue_t *q, elevator_t *e)
...
@@ -2205,7 +2202,6 @@ static int cfq_init_queue(request_queue_t *q, elevator_t *e)
e
->
elevator_data
=
cfqd
;
e
->
elevator_data
=
cfqd
;
cfqd
->
queue
=
q
;
cfqd
->
queue
=
q
;
atomic_inc
(
&
q
->
refcnt
);
cfqd
->
max_queued
=
q
->
nr_requests
/
4
;
cfqd
->
max_queued
=
q
->
nr_requests
/
4
;
q
->
nr_batching
=
cfq_queued
;
q
->
nr_batching
=
cfq_queued
;
...
...
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