Spdk/lib/nvmf
Ben Walker 2ec88c4f8c nvmf: Don't fail a property set command with invalid bits
If the initiator sends a property set command to a valid register, but
the value contains bits that are reserved by the NVMe specification,
don't fail the whole command. Just log an error message.

Previously, any valid bits set would take effect but then the command
would also fail. That confuses the initiator and thinks it must retry
the full property set.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: I566bc68c4469b9f41c69902e276f825c86683075
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4814
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: John Kariuki <John.K.Kariuki@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-10-23 13:47:35 +00:00
..
ctrlr_bdev.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr_discovery.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr.c nvmf: Don't fail a property set command with invalid bits 2020-10-23 13:47:35 +00:00
fc_ls.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
fc.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
nvmf_fc.h nvmf: Remove new_qpair callback from transport accept function pointer 2020-06-18 07:29:41 +00:00
nvmf_internal.h nvmf: Getting or setting the allow_any_host parameter no longer requires 2020-10-13 07:48:12 +00:00
nvmf_rpc.c nvmf: nvmf_subsystem_remove_host RPC now disconnects hosts 2020-10-22 03:55:57 +00:00
nvmf.c build: remove unused references to conf library 2020-10-20 02:42:16 +00:00
rdma.c nvmf/rdma: Add RPC to set new RDMA batching option 2020-10-21 02:25:32 +00:00
spdk_nvmf.map nvmf: Add spdk_nvmf_subsystem_disconnect_host 2020-10-15 08:24:05 +00:00
subsystem.c lib/nvmf: destroy the mutex in the error case 2020-10-15 08:24:22 +00:00
tcp.c nvmf: let transports parse transport opts from JSON themselves 2020-10-19 09:55:05 +00:00
transport.c nvmf/transport: Use mempool_get_bulk to feel pg cache 2020-09-09 07:19:50 +00:00
transport.h lib/nvmf: Add nvmf_transport_qpair_abort_request() 2020-07-14 07:54:42 +00:00