linux/drivers/nvme/target
Daniel Verkamp 6c73f94930 nvmet: fix KATO offset in Set Features
The Set Features implementation for Keep Alive Timer was using the wrong
structure when retrieving the KATO value; it was treating the Set
Features command as a Property Set command.

The NVMe spec defines the Keep Alive Timer feature as having one input
in CDW11 (4 bytes at offset 44 in the command) whereas the code was
reading 8 bytes at offset 48.

Since the Linux NVMe over Fabrics host never sets this feature, this
code has presumably never been tested.

Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2016-12-21 11:34:27 +01:00
..
admin-cmd.c nvmet: fix KATO offset in Set Features 2016-12-21 11:34:27 +01:00
configfs.c Just one simple change from Andrzej to drop the pointless return value 2016-12-14 10:31:25 -08:00
core.c Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-block 2016-12-13 10:19:16 -08:00
discovery.c nvmet: use symbolic constants for CNS values 2016-10-19 11:36:22 -06:00
fabrics-cmd.c nvme: introduce struct nvme_request 2016-11-10 10:06:24 -07:00
fc.c nvme-fabrics: Add target support for FC transport 2016-12-06 10:17:56 +02:00
fcloop.c nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
io-cmd.c nvmet: add support for the Write Zeroes command 2016-12-01 07:58:40 -07:00
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
loop.c block: improve handling of the magic discard payload 2016-12-09 08:30:51 -07:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: Fix possible infinite loop triggered on hot namespace removal 2016-12-06 10:17:03 +02:00
rdma.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00