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)
commitc41ad98bebb8f4f0335b3c50dbb7583a6149dce4
tree76758b6c1ba9cbc3f02652ed11ccb44e410849be
parentc61b82c7b71343c6aca6bb6cc3ff44fb123fb5d3
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