diff options
| author | Niklas Cassel <[email protected]> | 2021-12-01 14:28:30 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-02 21:41:47 -0500 |
| commit | 13202ebf5f331ca83f5ab47eb90ca4ef5489ac80 (patch) | |
| tree | d3bf8886a27c27f50d0d385f4a6ca77ecb2334db /scripts | |
| parent | db33028647a3eca9e3e6fccf170d75f3b56a466c (diff) | |
scsi: sd_zbc: Simplify zone full condition check
According to the ZBC (and ZAC) specification, a zone that has Zone Type set
to Conventional, must also have its Zone Condition set to "Not Write
Pointer".
Therefore, a conventional zone will never have Zone Condition set to
"Full", which means that we can omit the non-conventional prerequisite from
the zone full condition check.
Link: https://lore.kernel.org/r/[email protected]
Suggested-by: Damien Le Moal <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Niklas Cassel <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions