Searched hist:cccc2651f4222e587582867e966b054dd4b51a0e (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | nvme.h | diff cccc2651f4222e587582867e966b054dd4b51a0e Fri May 28 06:05:07 CDT 2021 Niklas Cassel <niklas.cassel@wdc.com> hw/nvme: add param to control auto zone transitioning to zone state closed
In the Zoned Namespace Command Set Specification, chapter 2.5.1 Managing resources
"The controller may transition zones in the ZSIO:Implicitly Opened state to the ZSC:Closed state for resource management purposes."
The word may in this sentence means that automatically transitioning an implicitly opened zone to closed is completely optional.
Add a new parameter so that the user can control if this automatic transitioning should be performed or not.
Being able to control this can help with verifying that e.g. a user-space program behaves properly even without this optional ZNS feature.
The default value is set to true, in order to not change the existing behavior.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> [k.jensen: moved parameter to controller] Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
|
H A D | ctrl.c | diff cccc2651f4222e587582867e966b054dd4b51a0e Fri May 28 06:05:07 CDT 2021 Niklas Cassel <niklas.cassel@wdc.com> hw/nvme: add param to control auto zone transitioning to zone state closed
In the Zoned Namespace Command Set Specification, chapter 2.5.1 Managing resources
"The controller may transition zones in the ZSIO:Implicitly Opened state to the ZSC:Closed state for resource management purposes."
The word may in this sentence means that automatically transitioning an implicitly opened zone to closed is completely optional.
Add a new parameter so that the user can control if this automatic transitioning should be performed or not.
Being able to control this can help with verifying that e.g. a user-space program behaves properly even without this optional ZNS feature.
The default value is set to true, in order to not change the existing behavior.
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> [k.jensen: moved parameter to controller] Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
|