numam-spdk/module
Ziye Yang d33f44866d rbd: Fix the name comparison bug.
Checked the definition of strncmp. If substring s1
is found in strnmp(s1, s2, len), then it will return 0.

For the len value, it is better to use strcmp. Otherwise,
if s1=cluster1, s2=cluster & len=strlen(s2),
strncmp will return 0. But they are two different strings. For
cluster names, they are different.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I15a06184d834cd1567b329d0322cd6bdea6fee4b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7991
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Community-CI: Mellanox Build Bot
2021-05-24 10:09:44 +00:00
..
accel accel_engine/ioat: If no ioat devices found, we should return. 2021-05-13 10:18:48 +00:00
bdev rbd: Fix the name comparison bug. 2021-05-24 10:09:44 +00:00
blob module/blob/bdev: use __SPDK_BDEV_MODULE_ONLY 2021-05-11 11:57:01 +00:00
blobfs so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
env_dpdk so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
event subsystem/nvmf: remove cpu_mask hint when creating poll group 2021-05-11 11:49:52 +00:00
sock sock/posix: Avoid extra readv calls after draining recv_pipe 2021-05-20 15:14:08 +00:00
Makefile build: install generated pkg-config files 2021-03-17 11:10:45 +00:00