Skip to content
Commit e6f41633 authored by Jamie Pocas's avatar Jamie Pocas Committed by Nicholas Bellinger
Browse files

target/sbc: Add LBPRZ attribute + control CDB emulation



This change sets the LBPRZ flag in EVPD page b2h and READ CAPACITY (16)
based on a new unmap_zeroes_data device attribute. This flag is set
automatically for iblock based on underlying block device queue's
discard_zeroes_data flag.

Signed-off-by: default avatarJamie Pocas <jamie.pocas@emc.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent ef8f46b5
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