在fnos的文件共享协议中开启NFS,再通过ssh的方式连接fnos,查看/etc/exports,有如下内容
/fs/1000/nfs *(rw,async,no_wdelay,insecure,all_squash,no_subtree_check,insecure_locks,sec=sys,anonuid=1000,anongid=1000,fsid=1000)
根据man手册的内容,设置async的情况下,no_wdelay将不起作用。具体如下
no_wdelay
This option has no effect if async is also set. The NFS server will normally delay committing a write request to disc slightly if it suspects that another related write request may be in progress or may arrive soon. This allows multiple write requests to be committed to disc with the one operation which can improve performance. If an NFS server received mainly small unrelated requests, this behaviour could actually reduce performance, so no\_wdelay is available to turn it off. The default can be explicitly requested with the wdelay option.
|