Just to give more context around the error if we get one.
Merge of master-melb:xfs-cmds:28068a by kenmcd.
Put the output of fsx into seq.full and output all of seq.full on failure.
Just to give more context around the error if we get one.
ret=dm_getall_sessions return value
rnelem=number of sessions
sids="sid1 sid2 ... sidn "
If the session id of a previously destroyed session matches the current number of sessions (rnelem),
then _check_sids() $PREV_DESTROYED_SID will _not_ flag ERROR: SID(s) not created.
This fix also makes _check_sids() not rely on sids being consecutive. DMF may be running on a FS in background.
Tested on Linux and Irix.
Merge of master-melb:xfs-cmds:28043a by kenmcd.
change _check_sids to go through sids line 1 by 1 checking for matches
This change causes 122 detect whether the patch is installed by greping for lazy count in mkfs output, the xfs_agf_t size is then filtered based on the patch status.
The original intention was to check /lib/modules/$(uname -r)/source/fs/xfs/xfs_ag.h for btreeblks and filter on this, however the kernel source is not a prereq for XFSQA.
Merge of master-melb:xfs-cmds:28014a by kenmcd.
pipe get_structs.c output through _type_size_filter to filter out known changes to xfs type sizes
Merge of master-melb:xfs-cmds:27847a by kenmcd.
changed _dmapi_scratch_mount to determine dmapi support by attempting to mount the filesystem with the dmapi mount option and checking it succeeds