Spdk/lib
Ben Walker f08cea7169 nvmf: Perform QID validation using a bit mask
Instead of scanning a list of all qpairs, use a bit
mask to determine if the requested QID is unique.

This is not for performance reasons, but because
eventually the ctrlr's list of qpairs is going to
need to go away.

Change-Id: Ic25ee60e4f9cd9d596815719760d5be892f29d0c
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/413286
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-06-07 16:07:38 +00:00
..
bdev bdev/iscsi: break out common code for completing a conn_req 2018-06-06 16:05:57 +00:00
blob blobstore: freeze I/O during snapshoting. 2018-06-06 22:26:04 +00:00
blobfs blobfs: sync length if append occurs after cache eviction 2018-04-11 16:03:14 -04:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy copy/ioat: reduce log level of informational messages 2018-04-06 18:31:54 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: add size parameter to spdk_mem_map_translate 2018-06-05 18:36:00 +00:00
event nvmf: SGL support for NVMF RDMA Driver. 2018-06-04 17:15:49 +00:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi subsystem/iscsi: Add iSCSI options to JSON config file 2018-06-01 20:15:59 +00:00
json json: Add spdk_json_decode_uint16 2018-06-05 21:30:02 +00:00
jsonrpc jsonrpc: make "jsonrpc" actually optional 2018-05-30 16:38:07 +00:00
log log: Make log_level and trace related RPCs callable during SPDK startup 2018-05-04 17:45:48 +00:00
lvol lvol: add lvol inflate function 2018-05-23 18:12:52 +00:00
nbd nbd: return path to /dev/nbd* in start_nbd_disk 2018-06-07 16:05:59 +00:00
net rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme nvme: factor out request timeout checking 2018-06-07 15:46:50 +00:00
nvmf nvmf: Perform QID validation using a bit mask 2018-06-07 16:07:38 +00:00
rocksdb rocksdb: remove nonsensical fallocate #ifdef 2018-03-27 12:41:12 -04:00
rpc rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
scsi scsi: Change spdk_scsi_task_alloc/free_data() from public to private 2018-06-06 17:09:22 +00:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util/bit_array: add functions to count 0/1 bits 2018-06-04 17:24:48 +00:00
vhost nvme: Allow users to request which I/O command set they'd like to use 2018-05-24 22:42:38 +00:00
virtio virtio: merge contiguous memory regions 2018-06-01 20:14:32 +00:00
Makefile lib: use CONFIG_ENV to pick which env dir to build 2018-05-24 21:27:06 +00:00