commit | deb61742e060d4447712598bc11bb50f8b2e51dd | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Mon Sep 11 16:16:53 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 25 08:56:05 2017 -0600 |
tree | 92bdcc22e8420ae9e0f551bc9db728c97897c555 | |
parent | d9d34c0b2327e85da0ad1476575264fe957fc6ef [diff] |
nvmet-fc: fix failing max io queue connections fc transport is treating NVMET_NR_QUEUES as maximum queue count, e.g. admin queue plus NVMET_NR_QUEUES-1 io queues. But NVMET_NR_QUEUES is the number of io queues, so maximum queue count is really NVMET_NR_QUEUES+1. Fix the handling in the target fc transport Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>