Re: [PATCH 43/43] xfs: enable realtime reflink

Christoph Hellwig
2024-12-13T09:25:50Z

> - if (xfs_globals.always_cow) {
> + /*
> + * always-cow mode is not supported on filesystems with rt
> + * extent sizes larger than a single block because we'd have
> + * to perform write-around for unaligned writes because remap
> + * requests must be aligned to an rt extent.
> + */
> + if (xfs_globals.always_cow &&
> + (!xfs_has_realtime(mp) || mp->m_sb.sb_rextsize == 1)) {

This looks unrelated to the rest of the patch, or am I missing
something?