diff options
author | Sebastian Schmelzer | 2012-06-14 15:34:26 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2012-06-14 15:34:26 +0200 |
commit | 447c6ba108ebc392dd23714c50e161e58490e321 (patch) | |
tree | 2a6f95ba225791e2a58bc10e3bdd8825afa69e9e | |
parent | fix natd bug in vmware-plugin (diff) | |
download | core-447c6ba108ebc392dd23714c50e161e58490e321.tar.gz core-447c6ba108ebc392dd23714c50e161e58490e321.tar.xz core-447c6ba108ebc392dd23714c50e161e58490e321.zip |
nfs performance fix
-rw-r--r-- | src/initramfs/scripts/etc/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/initramfs/scripts/etc/functions b/src/initramfs/scripts/etc/functions index 6feb29d1..fb67b472 100644 --- a/src/initramfs/scripts/etc/functions +++ b/src/initramfs/scripts/etc/functions @@ -157,10 +157,10 @@ case "${proto}" in { modprobe ${MODPRV} nfs 2>/dev/null || error "$error_nfsmod" nonfatal; } # nfs4 seems not supported yet by busybox mount (to be checked) #for nfsproto in nfs4 nfs; do - for transport in tcp udp fail; do + for transport in tcp tcp tcp udp fail; do [ $transport = "fail" ] && { error "$init_nfs" nonfatal; noimg=yes; break; } - mount -n -t nfs -o ${mntopt},nolock,${transport} \ + mount -n -t nfs -o ${mntopt},nolock,rsize=262144,wsize=262144,proto=${transport} \ ${server}:${srcpath} ${target} && break done #done |