• Nicholas Bellinger's avatar
    target/rd: Add ramdisk bit for NULLIO operation · 52c07423
    Nicholas Bellinger authored
    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: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    52c07423
target_core_rd.c 11.9 KB