• N
    iscsi-target: Add iser network portal attribute · 72438cdd
    Nicholas Bellinger 提交于
    This patch adds a new network portal attribute for iser, that lives
    under existing iscsi-target configfs layout at:
    
       /sys/kernel/config/target/iscsi/$TARGETNAME/$TPGT/np/$PORTAL/iser
    
    When lio_target_np_store_iser() is enabled, iscsit_tpg_add_network_portal()
    will attempt to start an rdma_cma network portal for iser-target, only if
    the external ib_isert module transport has been loaded.
    
    When disabled, iscsit_tpg_del_network_portal() will cease iser login service
    on the network portal, and release any external ib_isert module reference.
    
    v4 changes:
    
    - Add request_module for ib_isert to lio_target_np_store_iser()
    Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
    72438cdd
iscsi_target_configfs.c 52.4 KB