Re: [PATCH] xfs/653: require realtime

Andrey Albershteyn <[email protected]>
Newsgroups org.kernel.vger.fstests
Message-ID <cwrs4wnknrwofumnhqjbl3ka3r3rdhvurtrfm4db7ixd2lj7hj@au6vwxxvifqz>
On 2026-04-22 08:05:53, Christoph Hellwig wrote:
> On Fri, Apr 17, 2026 at 06:22:43PM +0200, Andrey Albershteyn wrote:
> > This test fails to mount without CONFIG_XFS_RT.
> 
> It would also fail without zone device support

The CONFIG_BLK_DEV_ZONED? Seems to pass if XFS_RT=y

> , and the || _notrun
> should handle that.  I guess it doesn't for you?

I suppose mkfs.xfs is fine with formatting the device even when
XFS_RT=n, but mount then fails, so _notrun doesn't catch it.

-- 
- Andrey

-- 

[root@kd:~]# mkfs.xfs -b size=4k -r zoned=1,size=2040928b -f /dev/vdb
meta-data=/dev/vdb               isize=512    agcount=4, agsize=32768 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=1
         =                       reflink=0    bigtime=1 inobtcount=1 nrext64=1
         =                       exchange=1   metadir=1
data     =                       bsize=4096   blocks=131072, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0, ftype=1, parent=1
log      =internal log           bsize=4096   blocks=16384, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =internal               extsz=4096   blocks=2359296, rtextents=2359296
         =                       rgcount=36   rgsize=65536 extents
         =                       zoned=1      start=131072 reserved=56224
Discarding blocks...Done.

[root@kd:~]# mount /dev/vdb /mnt/scratch
XFS (vdb): EXPERIMENTAL zoned RT device feature enabled.  Use at your own risk!
XFS (vdb): Not built with CONFIG_XFS_RT
XFS (vdb): RT mount failed
mount: /mnt/scratch: fsconfig() failed: Function not implemented.
       dmesg(1) may have more information after failed mount system call.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.