in a DMAPI-enabled SpScale file system, how could one swiftly access information on the migration / purge status of a file from within an application, i.e. by API functions?
information on the status of a file WRT external pool migration and purging is contained in extended attributes AFAIK. However, I could not get to grips so far how that information is encoded.
I do see EAs like " gpfs.dmapi.region", "gpfs.dmapi.eventlist", or "dmapi._GHIATTR" (yep, its HPSS providing the external pool), but what tells me the exact status? The usage of policy scans is not suited for checking on single files, thus this would not help here.
Would these attributes be retrievable by dm_get_dmattr() ?