diff options
author | Jens Axboe <axboe@fb.com> | 2014-05-10 01:48:23 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-05-10 01:48:23 +0400 |
commit | 7276d02e241dc3595d4a18ac2456fa449e448de7 (patch) | |
tree | 3fb2f7571884b9585783085e53578f973cf32c12 /block/Makefile | |
parent | cf4b50afc28cc4629f82f5591bef1db2ce129fdc (diff) | |
download | linux-7276d02e241dc3595d4a18ac2456fa449e448de7.tar.xz |
block: only calculate part_in_flight() once
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>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions