diff options
author | Klaus Jensen <k.jensen@samsung.com> | 2021-01-12 10:32:37 +0100 |
---|---|---|
committer | Klaus Jensen <k.jensen@samsung.com> | 2021-02-08 21:15:53 +0100 |
commit | 635b23ad43e37910eb7607cfee6887e89ae9e69a (patch) | |
tree | 15436f3df8615a31a828424a76d7a6f12cd68f0f /include/block | |
parent | 24ec776a5ac70954e95a33249d8fe3378c01f3a0 (diff) | |
download | qemu-635b23ad43e37910eb7607cfee6887e89ae9e69a.zip qemu-635b23ad43e37910eb7607cfee6887e89ae9e69a.tar.gz qemu-635b23ad43e37910eb7607cfee6887e89ae9e69a.tar.bz2 |
hw/block/nvme: fix zone write finalize
The zone write pointer is unconditionally advanced, even for write
faults. Make sure that the zone is always transitioned to Full if the
write pointer reaches zone capacity.
Cc: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions