]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: skip noiob for zoned devices
authorKeith Busch <kbusch@kernel.org>
Fri, 7 Aug 2020 16:32:35 +0000 (09:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Aug 2020 23:14:27 +0000 (17:14 -0600)
commit7da4e7f0b2dfe2a7e21928fd4c25b15151f6bca6
tree76758b6c1ba9cbc3f02652ed11ccb44e410849be
parentda3d6920c971147c7aeefd2f711f9624c37623ce
nvme: skip noiob for zoned devices

Zoned block devices reuse the chunk_sectors queue limit to define zone
boundaries. If a such a device happens to also report an optimal
boundary, do not use that to define the chunk_sectors as that may
intermittently interfere with io splitting and zone size queries.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c