diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2020-12-09 23:43:15 +0100 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-02-08 21:15:53 +0100 |
| commit | 5f5dc4c6a9426d6a1fe69ea1b539721f5eab7176 (patch) | |
| tree | 407e512fbbe8525770121fa42c9e3d4e155e8a7e /scripts/tracetool/backend/syslog.py | |
| parent | b05fde2881118e7e6e66b352e3a7ea1b8f52e1ad (diff) | |
| download | focaccia-qemu-5f5dc4c6a9426d6a1fe69ea1b539721f5eab7176.tar.gz focaccia-qemu-5f5dc4c6a9426d6a1fe69ea1b539721f5eab7176.zip | |
hw/block/nvme: zero out zones on reset
The zoned command set specification states that "All logical blocks in a zone *shall* be marked as deallocated when [the zone is reset]". Since the device guarantees 0x00 to be read from deallocated blocks we have to issue a pwrite_zeroes since we cannot be sure that a discard will do anything. But typically, this will be achieved with an efficient unmap/discard operation. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Tested-by: Dmitry Fomichev <dmitry.fomichev@wdc.com> Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Diffstat (limited to 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions