+93
−1
Loading
For I/O commands, block them if ANA state is inaccessible, persistent loss, or change. For Identify command, clear capacity field (nuse) to 0 if ANA state is inaccessible or persistent loss. For Get Features command, block features, error recovery, write atomicity normal, reservation notification mask, and reservation persistence if ANA state is inaccessible, persistent loss, or change. For Get Log Page command, error information page does not return any data yet, and hence there is no change. For Set Features command, if ANA state is inaccessible or change, block the command if NSID is 0xFFFFFFFF or if feature is error recovery, write atomicity normal, reservation notification mask, or reservation persistence, or if ANA state is persistent loss, block the command. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I15dd593227e451aa2247c53da42b6acad1757907 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4043 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>