t/nvmept_fdp: accommodate devices with many RUHS
authorVincent Fu <vincent.fu@samsung.com>
Mon, 15 Jul 2024 18:47:18 +0000 (18:47 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 15 Jul 2024 20:12:02 +0000 (20:12 +0000)
commit791f697320637fb39375ce4a80c287afaff8f395
tree6fefd9ddda4734d113e993e9b7714dbe961c4037
parent0e3c0070ddf75779c2ef840f6c80f49da9690bdf
t/nvmept_fdp: accommodate devices with many RUHS

Fio can only accept 128 placement IDs to write to. It is possible for
namespaces to have thousands of placement IDs. Adjust the standard tests
to acommodate this situation. Instead of just assuming that the device
has fewer than 128 placement IDs, change the expected RUAMW calculations
to also work for the case where the namespace has more than 128
placement IDs exceeds 128.

Also adjust the scheme test to work where there are more RUHS than the
max scheme entries allowed.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/nvmept_fdp.py