dataplacement: remove FDP_MAX_RUHS
authorAnkit Kumar <ankit.kumar@samsung.com>
Wed, 17 Jul 2024 05:57:27 +0000 (11:27 +0530)
committerAnkit Kumar <ankit.kumar@samsung.com>
Wed, 17 Jul 2024 14:11:40 +0000 (19:41 +0530)
commit481b6e3d93e936be25978bf36705d0fda18a9916
treea8693f991ab69529795bb7955b8c517cb4951590
parent791f697320637fb39375ce4a80c287afaff8f395
dataplacement: remove FDP_MAX_RUHS

Earlier fio used to have different limits on the max number of data
placement ID indices which user can pass, and the max number of ruhs
which can be stored. As during initialization we now fetch all the ruhs
from the device and then allocate buffer for the requested ones, there
is no need for FDP_MAX_RUHS.

Add missing error message if incorrect placement ID index is specified.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
dataplacement.c
dataplacement.h