The NetBSD Project

CVS log for src/sys/nfs/nfs_socket.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / nfs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-7


Revision 1.192.2.2 / (download) - annotate - [select for diffs], Sun Jul 10 09:42:34 2016 UTC (7 years, 9 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1
Changes since 1.192.2.1: +5 -3 lines
Diff to previous 1.192.2.1 (colored) to branchpoint 1.192 (colored) next main 1.193 (colored)

Pull up following revision(s) (requested by christos in ticket #1184):
	sys/nfs/nfs_socket.c: revision 1.198
	sys/nfs/nfs_clntsocket.c: revision 1.5
Serialize all access to the NFS request queue via splsoftnet(). Fixes random
crashes.
XXX: Pullup-7

Revision 1.192.2.1 / (download) - annotate - [select for diffs], Wed Nov 4 17:32:00 2015 UTC (8 years, 5 months ago) by riz
Branch: netbsd-7
Changes since 1.192: +41 -4 lines
Diff to previous 1.192 (colored)

Pull up following revision(s) (requested by manu in ticket #882):
	sbin/umount/umount.c: revision 1.48
	sys/nfs/nfsmount.h: revision 1.53
	sys/nfs/nfs_var.h: revision 1.94
	sys/nfs/nfs_iod.c: revision 1.7
	sys/nfs/nfs_socket.c: revision 1.197
	sys/nfs/nfs_bio.c: revision 1.191
	sys/nfs/nfs_vfsops.c: revision 1.230
	sys/nfs/nfs_clntsocket.c: revision 1.3
Remove useless and harmful sync(2) call in umount(8)
Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless
since unmount(2) will perform a VFS_SYNC anyway.
But moreover, this sync(2) may be harmful, as there are some situation where
it cannot return (unreachable NFS server, for instance), causing umount -f
to be uneffective.
Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever.
Here are the fixes:
- Introduce decents timeouts in operation that awaited NFS server reply.
- On timeout, fails operations on soft mounts with EIO.
- Introduce NFSMNT_DISMNTFORCE to let the filesystem know that a
  force unmount is ongoing. This causes timeouts to be reduced and
  prevents the NFS client to attempt reconnecting to the NFS server.
Also fix a race condition where some asynchronous I/O could reference
destroyed mount structures. We fix this by awaiting asynchronous I/O
to drain before proceeding.
Reviewed by Chuck Silvers.

Revision 1.192 / (download) - annotate - [select for diffs], Tue Aug 5 07:55:32 2014 UTC (9 years, 8 months ago) by rtr
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-0, netbsd-7
Changes since 1.191: +6 -6 lines
Diff to previous 1.191 (colored)

split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions

   xxx_send(struct socket *, struct mbuf *, struct mbuf *,
       struct mbuf *, struct lwp *)

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_SEND with calls to
    pr_send()

rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs

  - l2cap_send() -> l2cap_send_pcb()
  - sco_send() -> sco_send_pcb()
  - rfcomm_send() -> rfcomm_send_pcb()

patch reviewed by rmind

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>