git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4b50a
)
block: only calculate part_in_flight() once
author
Jens Axboe
<axboe@fb.com>
Fri, 9 May 2014 21:48:23 +0000
(15:48 -0600)
committer
Jens Axboe
<axboe@fb.com>
Fri, 9 May 2014 21:48:23 +0000
(15:48 -0600)
We first check if we have inflight IO, then retrieve that
same number again. Usually this isn't that costly since the
chance of having the data dirtied in between is small, but
there's no reason for calling part_in_flight() twice.
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
patch
|
blob
|
history
diff --cc
block/blk-core.c
Simple merge