Merging upstream version 2.11.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
6f6d3e85f8
commit
0f2367f2fa
533 changed files with 9033 additions and 4835 deletions
|
@ -26,11 +26,12 @@ class TestNVMeGetLbaStatusCmd(TestNVMe):
|
|||
def setUp(self):
|
||||
""" Pre Section for TestNVMeGetLbaStatusCmd. """
|
||||
super().setUp()
|
||||
if not self.get_lba_status_supported():
|
||||
self.skipTest("because: Optional Admin Command 'Get LBA Status' (OACS->GLSS) not supported")
|
||||
self.start_lba = 0
|
||||
self.block_count = 0
|
||||
self.namespace = 1
|
||||
self.max_dw = 1
|
||||
self.action = 11
|
||||
self.action = 0x11
|
||||
self.range_len = 1
|
||||
self.setup_log_dir(self.__class__.__name__)
|
||||
|
||||
|
@ -51,7 +52,7 @@ class TestNVMeGetLbaStatusCmd(TestNVMe):
|
|||
"""
|
||||
err = 0
|
||||
get_lba_status_cmd = "nvme get-lba-status " + self.ctrl + \
|
||||
" --namespace-id=" + str(self.namespace) + \
|
||||
" --namespace-id=" + str(self.ns1) + \
|
||||
" --start-lba=" + str(self.start_lba) + \
|
||||
" --max-dw=" + str(self.max_dw) + \
|
||||
" --action=" + str(self.action) + \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue