• Hannes Reinecke's avatar
    nvme: sanitize KATO setting · a70b81bd
    Hannes Reinecke authored
    According to the NVMe base spec the KATO commands should be sent
    at half of the KATO interval, to properly account for round-trip
    times.
    As we now will only ever send one KATO command per connection we
    can easily use the recommended values.
    This also fixes a potential issue where the request timeout for
    the KATO command does not match the value in the connect command,
    which might be causing spurious connection drops from the target.
    Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    a70b81bd
fabrics.c 30.9 KB