summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2016-11-22 07:38:49 +0100
committerJens Axboe <axboe@fb.com>2016-11-22 16:09:09 +0100
commit4d1a4765426fb57439164089b3cb537ec65356eb (patch)
tree6991c8002d4ff2b4d41e48efda0bff7cff419c35 /virt
parentblock: apply blk_partition_remap to REQ_OP_ZONE_RESET (diff)
downloadlinux-4d1a4765426fb57439164089b3cb537ec65356eb.tar.xz
linux-4d1a4765426fb57439164089b3cb537ec65356eb.zip
block_dev: Fixed direct I/O bio sector calculation
A direct I/O alignment must be always checked against the device blocks size, but the I/O offset (bio->bi_iter.bi_sector must always use 512B sector unit, and not the actual logical block size. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions