diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2021-01-11 13:52:40 +0100 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-02-08 21:15:49 +0100 |
| commit | 1b5804a80d8bd6ecb8910e864afb89049279df17 (patch) | |
| tree | 3fd799fff2521c7afa81c3c3030f6aab4072e9eb /hw/avr/arduino.c | |
| parent | 55886345d01d72a03cbfaf1c4d89f967174dedd9 (diff) | |
| download | focaccia-qemu-1b5804a80d8bd6ecb8910e864afb89049279df17.tar.gz focaccia-qemu-1b5804a80d8bd6ecb8910e864afb89049279df17.zip | |
hw/block/nvme: conditionally enable DULBE for zoned namespaces
The device uses the BDRV_BLOCK_ZERO flag to determine the "deallocated" status of logical blocks. Since the zoned namespaces command set specification defines that logical blocks SHALL be marked as deallocated when the zone is in the Empty or Offline states, DULBE can only be supported if the zone size is a multiple of the calculated deallocation granularity (reported in NPDG) which depends on the underlying block device cluster size (if applicable) or the configured discard_granularity. Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions