Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.5.0
-
3
-
10033
Description
If llapi_create_volatile_idx() is passed an MDT index other than -1 then it uses '%.4X' to encode the index into the volatile file name. But it uses an index of 0 rather than the one provided.
filename_is_volatile() uses strtoul(..., ..., 0) to parse the MDT index out of the volatile file name.
So llapi_create_volatile_idx() ignores MDT index when specified and filename_is_volatile() doesn't properly understand MDT indices greater than 9.
Landed to master.