summaryrefslogtreecommitdiff
path: root/block/blk-merge.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-04-28 13:27:54 +0200
committerJens Axboe <axboe@kernel.dk>2020-04-29 09:33:26 -0600
commit760f83ea63a7b2c12b3b1e656b24cbb880b6b814 (patch)
treed66373dc8dac91571a6ff854e4b6eedc7faeb69f /block/blk-merge.c
parent3fdd40861d800a4e1eb67c5158e8ab90076e2f93 (diff)
block: cleanup the memory stall accounting in submit_bio
Instead of a convoluted chain just check for REQ_OP_READ directly, and keep all the memory stall code together in a single unlikely branch. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions