projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4025f6
)
block: cleanup REQ_SOFTBARRIER usages
author
Tejun Heo
<tj@kernel.org>
Thu, 23 Apr 2009 02:05:18 +0000
(11:05 +0900)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:34 +0000
(07:37 +0200)
blk_insert_request() doesn't need to worry about REQ_SOFTBARRIER.
Don't set it. Combined with recent ide updates, REQ_SOFTBARRIER is
now only used in elevator proper and for discard requests.
[ Impact: cleanup ]
Signed-off-by: Tejun Heo <tj@kernel.org>
block/blk-core.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index 7e0fab53e930f747462e8534c4a4fc3cc82bcae8..cf10dfcda99d88392be71324b97ae9684be7a861 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-946,7
+946,6
@@
void blk_insert_request(struct request_queue *q, struct request *rq,
* barrier
*/
rq->cmd_type = REQ_TYPE_SPECIAL;
- rq->cmd_flags |= REQ_SOFTBARRIER;
rq->special = data;