]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-mpath: remove I/O polling support
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:25 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:18 +0000 (11:38 -0700)
commitd82180939f17d2d5f5ae3e1af12e8ec255415671
treebc023c5668b39d1a9a0e054038a7e1872c30dd5a
parentc61a2e9424a5f901900c918cb30c7a43932449af
nvme-mpath: remove I/O polling support

The ->poll_fn has been stale for a while, as a lot of places check for mq
ops.  But there is no real point in it anyway, as we don't even use
the multipath code for subsystems without multiple ports, which is usually
what we do high performance I/O to.  If it really becomes an issue we
should rework the nvme code to also skip the multipath code for any
private namespace, even if that could mean some trouble when rescanning.

Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/multipath.c