Spdk/lib/iscsi
Tomasz Zawadzki 1a884e94e4 lib/log: do not use spdk_log_get_flag() in macro for log flags
Especially SPDK_INFOLOG() should not call spdk_log_get_flag() function,
instead rely on the log flag structure.

This caused performance degradation in places that used SPDK_INFOLOG
too extensively.

Due to nature of the macros, in the meantime new debug log in
iscsi was improperly named. This wasn't caught because of the
macros reliance on spdk_log_get_flag(), where if name wasn't
registered - no log was printed and no compilation occurred.
Going back to using the structures, gives immediate feedback
that there is no SPDK_LOG_ISCSI log flag.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I262eadb5aee29caa2a5cd719c82ca4963ea24576
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4712
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-10-16 08:14:59 +00:00
..
conn.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
conn.h iscsi: Allocate connections array from regular memory 2020-09-25 11:30:09 +00:00
init_grp.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
init_grp.h lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in init_grp.h 2020-04-20 07:38:29 +00:00
iscsi_rpc.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
iscsi_subsystem.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
iscsi.c lib/log: do not use spdk_log_get_flag() in macro for log flags 2020-10-16 08:14:59 +00:00
iscsi.h lib/iscsi: Add MaxR2TPerConnection to iSCSI options 2020-08-18 07:27:45 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
md5.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in md5.h 2020-04-20 07:38:29 +00:00
md5.h lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in md5.h 2020-04-20 07:38:29 +00:00
param.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
param.h lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in param.h 2020-04-20 07:38:29 +00:00
portal_grp.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
portal_grp.h lib/iscsi: Create portal group as public or private portal group 2020-08-11 08:27:43 +00:00
spdk_iscsi.map lib/iscsi: add a map file 2020-04-24 07:06:52 +00:00
task.c lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in task.h 2020-04-20 07:38:29 +00:00
task.h lib/iscsi: Replace the "spdk_" prefix by "iscsi_" for internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
tgt_node.c log: remove internal log.h header 2020-10-15 08:23:39 +00:00
tgt_node.h lib/iscsi: Inform initiator that target has temporary moved to a different address 2020-08-11 08:27:43 +00:00