diff options
author | 2021-12-01 14:28:30 +0000 | |
---|---|---|
committer | 2021-12-02 21:41:47 -0500 | |
commit | 13202ebf5f331ca83f5ab47eb90ca4ef5489ac80 (patch) | |
tree | d3bf8886a27c27f50d0d385f4a6ca77ecb2334db /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | scsi: Remove superfluous #include <linux/async.h> directives (diff) | |
download | linux-dev-13202ebf5f331ca83f5ab47eb90ca4ef5489ac80.tar.xz linux-dev-13202ebf5f331ca83f5ab47eb90ca4ef5489ac80.zip |
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/20211201142821.64650-1-Niklas.Cassel@wdc.com
Suggested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions