summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-05-09 14:54:08 -0600
committerJens Axboe <axboe@fb.com>2014-05-09 14:54:08 -0600
commitcf4b50afc28cc4629f82f5591bef1db2ce129fdc (patch)
tree021ac302ac256c4fd3a03b740a0c823e69644b89 /block/blk-core.c
parent4bb659b156996f2993dc16fad71fec9ee070153c (diff)
downloadblackbird-op-linux-cf4b50afc28cc4629f82f5591bef1db2ce129fdc.tar.gz
blackbird-op-linux-cf4b50afc28cc4629f82f5591bef1db2ce129fdc.zip
blk-mq: fix race in IO start accounting
Commit c6d600c6 opened up a small race where we could attempt to account IO completion on a request, racing with IO start accounting. Fix this up by ensuring that we've accounted for IO start before inserting the request. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud