summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-10-03 07:26:12 -0600
committerJens Axboe <axboe@kernel.dk>2024-10-22 08:14:56 -0600
commitfd0a63bcda40c09463f31b9401dbb0cb01c51674 (patch)
tree0e6222f4d492601caa16d001da075c6b9da5deba /block/blk-core.c
parent2c50ec98fc6cab28df35e0a22a2bcc7957d9d0ab (diff)
block: remove 'req->part' check for stats accounting
If RQF_IO_STAT is set, then accounting is enabled. There's no need to further gate this on req->part being set or not, RQF_IO_STAT should never be set if accounting is not being done for this request. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions