]> www.infradead.org Git - users/sagi/blktests.git/commit
scsi/006: allow changing cache_type to fail
authorOmar Sandoval <osandov@fb.com>
Tue, 18 Dec 2018 20:15:56 +0000 (12:15 -0800)
committerOmar Sandoval <osandov@fb.com>
Tue, 18 Dec 2018 20:18:47 +0000 (12:18 -0800)
commitb0ef2aaa0f94ffe5a5f93bb2cb5e736eb757c8b4
tree32ad0ce5e202c43ec71eadc83f603ebe45ab4643
parent69a95c6f260f9f65551214a0291f82326a57f8f7
scsi/006: allow changing cache_type to fail

Some devices don't support all cache types. Allow setting the cache type
to fail with EINVAL. On success, make sure it was changed to the desired
value.

Signed-off-by: Omar Sandoval <osandov@fb.com>
tests/scsi/006