Re: [PATCH v3] generic: test truncating mixed written/unwritten XFS realtime extent

Eryu Guan
2019-12-08T15:44:00Z

reflink is enabled by default since xfsprogs v5.1.0, and this causes
_scratch_mkfs to fail as "reflink not supported with realtime devices",
so I added a check here

if _scratch_mkfs_xfs_supported -m reflink=0 >/dev/null 2>&1; then
extra_options="$extra_options -m reflink=0"
fi

Thanks,
Eryu