dataplacement: update ruh info initialization
authorAnkit Kumar <ankit.kumar@samsung.com>
Mon, 15 Jul 2024 08:21:04 +0000 (13:51 +0530)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 15 Jul 2024 19:48:53 +0000 (15:48 -0400)
commit56d12245953b4ae147784db2e77b1609197df4a0
treeaefb2e04400dec5d5ac83fe04b6f55c72ad9d036
parent2cb0841a1452f34a20ffe8fc1821b305f10b3f63
dataplacement: update ruh info initialization

The current way of initilization limits ruhs to 128. This commit
updates the way we fetch ruhs. We now fetch the ruhs info in two steps.
The first step only gets us the number of ruhs from the ioengine. This
is used by fdp backend to allocate the correct buffer size for the
second step, where we fetch the actual ruhs info. Fio no longer limits
the maximum number of ruhs for a device.

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
[Vincent: edited commit message]
dataplacement.c