Skip to content

Commit 640be93

Browse files
derekbitinnobead
authored andcommitted
longhorn: use longhorn recovery-backend
Longhorn 2293 Signed-off-by: Derek Su <derek.su@suse.com>
1 parent 2854196 commit 640be93

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

package/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ RUN zypper -n install autoconf bison curl cmake doxygen make git gcc-c++ flex Me
1616
tar gzip dbus-1-devel lsb-release graphviz-devel libnsl-devel libcurl-devel libjson-c-devel && \
1717
rm -rf /var/cache/zypp/*
1818

19-
RUN curl -L https://github.com/longhorn/nfs-ganesha/archive/refs/tags/v4_20220803.tar.gz | tar zx \
19+
RUN curl -L https://github.com/longhorn/nfs-ganesha/archive/refs/tags/v4_20220824.tar.gz | tar zx \
2020
&& curl -L https://github.com/nfs-ganesha/ntirpc/archive/v4.0.tar.gz | tar zx \
21-
&& mv nfs-ganesha-4_20220803 nfs-ganesha-4.0 \
21+
&& mv nfs-ganesha-4_20220824 nfs-ganesha-4.0 \
2222
&& rm -r nfs-ganesha-4.0/src/libntirpc \
2323
&& mv ntirpc-4.0 nfs-ganesha-4.0/src/libntirpc
2424
WORKDIR /nfs-ganesha-4.0

pkg/server/nfs/nfs_server.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ LOG {
4646
NFSV4
4747
{
4848
Lease_Lifetime = 60;
49-
Graceless = true;
50-
Grace_Period = 0;
49+
Grace_Period = 90;
5150
Minor_Versions = 1, 2;
52-
RecoveryBackend = fs_ng;
53-
RecoveryRoot = /tmp;
51+
RecoveryBackend = longhorn;
5452
Only_Numeric_Owners = true;
5553
}
5654

0 commit comments

Comments
 (0)