]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: ensure zero kato for non-persistent controllers
authorMartin George <marting@netapp.com>
Wed, 3 Mar 2021 06:19:19 +0000 (11:49 +0530)
committerKeith Busch <kbusch@kernel.org>
Wed, 3 Mar 2021 15:27:40 +0000 (08:27 -0700)
commita67d001330ae1c407aa4f8491436bb2d0128d47f
treef5d60dda802ea9973bb552fca507df22768a34fe
parent6629623ae40e66e747dc530849526a5ba57d8808
fabrics: ensure zero kato for non-persistent controllers

Add a helper function that sets the default kato value for the
discovery controllers. Along with ensuring a non-zero kato value
(i.e. NVMF_DEF_DISC_TMO) is passed to a persistent discovery
controller, it also ensures a zero kato value is passed to a
non-persistent discovery controller, as mandated by the NVMe spec.

Signed-off-by: Martin George <marting@netapp.com>
fabrics.c