summaryrefslogtreecommitdiff
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-25 21:39:57 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-25 21:41:34 +0300
commit3a905c37c3510ea6d7cfcdfd0f272ba731286560 (patch)
tree141e4fae0a7e8490755706ba065e38abcb3fe59a /block/bfq-iosched.h
parentc42bca92be928ce7dece5fc04cf68d0e37ee6718 (diff)
downloadlinux-3a905c37c3510ea6d7cfcdfd0f272ba731286560.tar.xz
block: skip bio_check_eod for partition-remapped bios
When an already remapped bio is resubmitted (e.g. by blk_queue_split), bio_check_eod will compare the remapped bi_sector against the size of the partition, leading to spurious I/O failures. Skip the EOD check in this case. Fixes: 309dca309fc3 ("block: store a block_device pointer in struct bio") Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions