commit | 2631857160ecbea04e54423f5053133fe2b6ea45 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Mar 13 18:55:07 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 13 12:57:34 2019 -0600 |
tree | c4fbd6e2b8003da5793927629ba9033a78d7cf0b | |
parent | b1aafb35b45b1d734c670059c125a4ff111a47bd [diff] |
nvme: add proper discard setup for the multipath device Add a gendisk argument to nvme_config_discard so that the call to nvme_update_disk_info for the multipath device node updates the proper request_queue. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Tested-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>