common/rc: only force nfs4.2 non-default SEEK_HOLE behaviour
authorJeffle Xu <jefflexu@linux.alibaba.com>
Thu, 29 Jul 2021 04:47:58 +0000 (12:47 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 8 Aug 2021 12:14:35 +0000 (20:14 +0800)
commit4b7ea02dc05b231bbdc23793431ee44ae5b42180
treede6516cc1d6294b8951a1542833c5dc4377aa862
parentc0135a6f045770739389443648cb6a45af05a8b1
common/rc: only force nfs4.2 non-default SEEK_HOLE behaviour

Only NFSv4.2 supports non-defautl SEEK_HOLE behaviour. Thus default
SEEK_HOLE behaviour shall be allowed for NFSv4.0/4.1, or it will fail
generic/285, generic/448, generic/490 on NFSv4.0/4.1, complaining they
should support non-default SEEK_HOLE behaviour.

The *.full log is like:
File system supports the default behavior.
Default behavior is not allowed. Aborting.

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc