868be8ed | 03-Jun-2024 |
Oded Mashbach <oded.mashbach@silk.us> |
iscs: chap mutual authentication should apply when configured.
mutual chap authentication should be used when the -m option is sent via iscsi_auth_group_add_secret rpc. The commit comes to fix the p
iscs: chap mutual authentication should apply when configured.
mutual chap authentication should be used when the -m option is sent via iscsi_auth_group_add_secret rpc. The commit comes to fix the problem where the mutual authentication depends solely on the existance of the muser + msecret configured in the auth group.
Change-Id: I8d703ea2b643508c97e7e64bd2194e47cc6ab8cd Signed-off-by: Oded Mashbach <oded.mashbach@silk.us> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23617 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
f0dbfd08 | 31-May-2024 |
Changqi Lu <luchangqi.123@bytedance.com> |
lib/iscsi: add json config saving for iscsi_enable_histogram
When the "save_config" RPC command is called in SPDK, the current environment is saved. However, the environment created by "iscsi_enable
lib/iscsi: add json config saving for iscsi_enable_histogram
When the "save_config" RPC command is called in SPDK, the current environment is saved. However, the environment created by "iscsi_enable_histogram" is not included in the saved configuration.
In a production environment, it is crucial to monitor various IO indicators, and IO latency is one of the important metrics. Fortunately, SPDK provides an RPC method called "iscsi_get_histogram" to obtain the IO latency histogram of an iscsi target device. However, before using this RPC method, it is necessary to first call the "iscsi_enable_histogram" command.
In a production environment, SPDK is typically configured to automatically restart using the saved configuration file (by using the "save_config" command in rpc.py). However, since the "iscsi_enable_histogram" configuration is missing from the saved configuration, the IO latency monitoring will fail once SPDK restarts.
Change-Id: I3fe79debc337ae42f99cd23856a2cee405dbb3cd Signed-off-by: Changqi Lu <luchangqi.123@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23486 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
ba909a45 | 11-Dec-2023 |
Changqi Lu <luchangqi.123@bytedance.com> |
lib/iscsi: add rpc method iscsi_get_histogram
A new rpc method(iscsi_get_histogram) is added to get histogram of iscsi target.
Change-Id: I4bbda04763e4db734b798657c8acb9e702c69f83 Signed-off-by: Ch
lib/iscsi: add rpc method iscsi_get_histogram
A new rpc method(iscsi_get_histogram) is added to get histogram of iscsi target.
Change-Id: I4bbda04763e4db734b798657c8acb9e702c69f83 Signed-off-by: Changqi Lu <luchangqi.123@bytedance.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21001 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|