Skip to content
Commit 52c07423 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

target/rd: Add ramdisk bit for NULLIO operation



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>
parent 3eccfdb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment