[LTP] [PATCH] refluxfs: Check kernel reflink support before mount

Martin Doucha mdoucha@suse.cz
Thu Aug 13 17:18:20 CEST 2026


On 8/13/26 16:15, Cyril Hrubis wrote:
>> Hi,
>> yes, but I think it'd be better to add a setting to struct tst_test to
>> enable this TCONF check only for specific tests. By default, EOPNOTSUPP
>> should still trigger TBROK.
>>
>> Something like:
>> .mount_check_support = 1
> 
> Shoudn't that be per filesystem and live in tst_fs structure?
> 
> Either way we will need a flag to the safe_mount() added first...

That's a good point. I'll prepare a patch.

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list