+1
−0
+2
−2
Loading
Add handler to passthru get_log_page to underlying dev. It is disabled by default, can be enabled by RPC. It uses already existing generic passthru handler, which makes sure that ctrlr-scope admin cmds are passthru only for subsystem with single namespace. ANA log and CHANGED_NS_LIST log pages have to be handled by SPDK, so exclude them from passthru. Since SPDK is not supporting passthru get/set_feature OPC to the drive - do not expose FEATURE_IDS_EFFECTS log page as supported, and do not passthru this log page to the drive. Let cmd_and_effects LID to be handled by SPDK instead of this custom handler as well. Proper handling of this log page would be added in further patch. In fixup for get_supported_log_pages LID - make sure to reflect what drive supports + what is supported by SPDK. Change-Id: I1fe7550d5aa083fd12f2eb61869d509fff208d90 Signed-off-by:Pawel Baldysiak <pawel.baldysiak@dell.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26456 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>