Neil Brown wrote: > On Thursday August 9, chuck.lever@oracle.com wrote: >> Introduce support files which contain code that builds string mount >> options and passes them to the kernel. This is a pre-requisite for >> actually enabling /sbin/mount.nfs to do text-based mounts. >> >> This is only partially complete at the moment, but is presented so that >> folks can start banging on the kernel mount option string parsing code. >> There are clearly still parts that are not implemented quite yet, such >> as bg and retry support, but it should be enough to get going. >> >> Signed-off-by: Chuck Lever >> --- > >> + >> +static int retry_opt = 10000; /* 10,000 minutes ~= 1 week */ > > Why one week? Why not "MAX_INT"? retry_opt is never actually used, so > I cannot guess. retry=10000 is the default setting. According to the nfs(5) man page, this is about 1 week. The plan is to extract the retry setting from the mount options string if it exists, and use the default value of 10000 if it does not.