diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-04-28 14:27:54 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-04-29 18:33:26 +0300 |
| commit | 760f83ea63a7b2c12b3b1e656b24cbb880b6b814 (patch) | |
| tree | d66373dc8dac91571a6ff854e4b6eedc7faeb69f /include | |
| parent | 3fdd40861d800a4e1eb67c5158e8ab90076e2f93 (diff) | |
| download | linux-760f83ea63a7b2c12b3b1e656b24cbb880b6b814.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
