[LTP] [PATCH] mremap06: fallocate is not supported on nfsv3
Cyril Hrubis
chrubis@suse.cz
Wed Apr 10 12:08:19 CEST 2024
Hi!
> The solution would be to at least check for tst_fs_type(".") == TST_NFS_MAGIC.
I would go for this at the moment, that is the easiest fix at the
moment.
> Perfect solution would IMHO be to check for NFS version (e.g. in /proc/mounts)
> and TCONF only on NFSv3.
And is nfsv4 enough, wasn't it added in nfsv4.2? Do we need to parse
/proc/net/rpc/nfs to figure out if nfs fallocate() is supported?
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list