Re: Text-based mount interface breaking non-UDP mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steinar H. Gunderson wrote:
I've gotten a few bug reports lately that if UDP is blocked at the server,
NFS mounts (even with -o tcp) fail. git bisect shows that the culprit is
the change "Get rid of the "-i" option for mount.nfs[4] and always use the
text-based mount(2) system call for kernel version 2.6.23 and later." -- in
other words, the bug is specific to the text interface. Does anyone know why
this would be the case?

The NFS client code (nfs-utils-1.1.2) tests for
  if (kernel_version > MAKE_VERSION(2, 6, 22))

yet the kernel patch for NFS did not go un until 2.6.25-rc2

From: Linus Torvalds <torvalds@...>
Subject: Linux 2.6.25-rc2
Date: Feb 15, 5:23 pm 2008

Ok,
 this kernel is a winner.

[...]

Chuck Lever (1):
      NFS: Allow text-based mounts via compat_sys_mount


So the test should at least be > MAKE_VERSION(2, 6, 24).

Frank

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux