Re: [PATCH] common/rc: fix _xfs_is_realtime_file for internal rt devices

Christoph Hellwig
2025-11-21T06:47:20Z

On Thu, Nov 20, 2025 at 03:15:36PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Now that we can have internal realtime devices, it's possible to have a
> realtime filesystem without setting USE_EXTERNAL=yes or SCRATCH_RTDEV.
> Use the existing _xfs_has_feature helper to figure out if the given path
> points to a filesystem with an online realtime volume.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

although right now it should not matter - one user of
_xfs_is_realtime_file requires reflinks and the other explicitly
excludes zoned file systems.