-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dataplacement: update ruh info initialization
The current way of initilization limits ruhs from 0 to 127. Although fio supports a maximum of 128 ruhs, for the files supporting more the 128 placement ids user has the flexibility of specifying any 128 placement id index at a time. 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. Signed-off-by: Ankit Kumar <[email protected]>
- Loading branch information
Showing
1 changed file
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters