• N
    target/rd: Add ramdisk bit for NULLIO operation · 52c07423
    Nicholas Bellinger 提交于
    This patch adds a rd_nullio parameter that allows RAMDISK_MCP backends
    to function in NULLIO mode, where all se_cmd I/O is immediately completed
    in rd_execute_rw() without actually performing the SGL memory copy.
    
    This is useful for performance testing when the ramdisk SGL memory copy
    begins to eat lots of cycles during heavy small block workloads, so allow
    this bit to be enabled when necessary on a per rd_dev basis.
    Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
    52c07423
target_core_rd.c 11.9 KB