Tests: remove the warning if a SSD supports SANITIZE/OVERWRITE

There is technically no reason why a SSD with (assumingly with thin
provisioning) can not support SANITIZE/OVERWRITE instead or or in addition
to the more expected SANITIZE/BLOCK-ERASE so remove the warning for this.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2016-05-01 12:35:29 -07:00
parent 526039793e
commit a6fc65b4ef
3 changed files with 6 additions and 4 deletions

View File

@@ -86,10 +86,6 @@ test_sanitize_overwrite(void)
"or a SSD device.");
if (inq_bdc && inq_bdc->medium_rotation_rate == 0) {
logging(LOG_NORMAL, "This is a HDD device");
logging(LOG_NORMAL, "[WARNING] SANITIZE OVERWRITE opcode is "
"supported but MediumRotationRate is 0 "
"indicating that this is an SSD. Only HDDs should "
"implement OVERWRITE");
} else {
logging(LOG_NORMAL, "This is a SSD device");
}