The NetBSD Project

CVS log for src/sys/nfs/nfs_var.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.96 / (download) - annotate - [select for diffs], Wed Apr 27 17:38:52 2022 UTC (23 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) to selected 1.48 (colored)

As VOP_GETATTR() needs a shared lock at least move the preopattr lookup
inside nfs_namei() where we may lock the start directory without violating
the lock order.

Revision 1.94.34.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:35 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) next main 1.95 (colored) to selected 1.48 (colored)

Sync w/ HEAD.

Revision 1.94.38.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:53 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) next main 1.95 (colored) to selected 1.48 (colored)

sync with head

Revision 1.95 / (download) - annotate - [select for diffs], Fri Jun 4 10:44:58 2021 UTC (2 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.48 (colored)

Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call.

Works like NFSSVC_SETEXPORTSLIST but supports "mel_nexports > 1"
and will atomically update the complete exports list for a file system.

Revision 1.90.20.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:06 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.90.20.1: +16 -1 lines
Diff to previous 1.90.20.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored) to selected 1.48 (colored)

update from HEAD

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Wed Nov 4 17:46:21 2015 UTC (8 years, 5 months ago) by riz
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.92.2.1: +16 -2 lines
Diff to previous 1.92.2.1 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored) to selected 1.48 (colored)

Pull up following revision(s) (requested by mrg in ticket #956):
	sys/compat/netbsd32/files.netbsd32: revision 1.36
	sys/compat/netbsd32/netbsd32_sysent.c: revision 1.115
	sys/compat/netbsd32/netbsd32_syscallargs.h: revision 1.116
	sys/nfs/nfs_var.h: revision 1.93
	sys/compat/netbsd32/netbsd32_conv.h: revision 1.30
	sys/compat/netbsd32/netbsd32_syscall.h: revision 1.116
	sys/compat/netbsd32/netbsd32_syscalls.c: revision 1.115
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.1
	sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.3
	sys/nfs/nfs_syscalls.c: revision 1.156
	sys/compat/netbsd32/syscalls.master: revision 1.108
	sys/compat/netbsd32/netbsd32.h: revision 1.107
add netbsd32 support for nfssvc(2).  we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.
with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
don't copy the first netbsd32_export_args nexports times, but actually
advance the userland pointer each entry through the loop.  oops.

Revision 1.92.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.92: +2 -1 lines
Diff to previous 1.92 (colored) to selected 1.48 (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.92.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:12 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.92: +17 -2 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.48 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Wed Jul 15 03:28:55 2015 UTC (8 years, 9 months ago) by manu
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf, cjep_sun2x
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored) to selected 1.48 (colored)

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.93 / (download) - annotate - [select for diffs], Mon Jun 22 10:35:00 2015 UTC (8 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.92: +16 -2 lines
Diff to previous 1.92 (colored) to selected 1.48 (colored)

add netbsd32 support for nfssvc(2).  we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.

with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.

Revision 1.90.20.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:36 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.48 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:45 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.91: +1 -2 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.48 (colored)

Rebase.

Revision 1.92 / (download) - annotate - [select for diffs], Fri May 30 08:47:45 2014 UTC (9 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7
Changes since 1.91: +1 -2 lines
Diff to previous 1.91 (colored) to selected 1.48 (colored)

Change NFS from rbtree to vcache.

Revision 1.90.10.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:11 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored) next main 1.91 (colored) to selected 1.48 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.90.24.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:14 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored) next main 1.91 (colored) to selected 1.48 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Sat Dec 14 16:19:28 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored) to selected 1.48 (colored)

don't allow the nfs server module to unload if it has exported filesystems.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:22 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.89: +42 -1 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.78.4.8 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:31 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.7: +42 -1 lines
Diff to previous 1.78.4.7 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.48 (colored)

sync with head

Revision 1.90 / (download) - annotate - [select for diffs], Tue Mar 2 23:19:09 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.89: +42 -1 lines
Diff to previous 1.89 (colored) to selected 1.48 (colored)

Get rid of dependency on fs_nfs.h, i.e. source modules with
conditional content depending on if the NFS client is wanted or
not.  The server can now be made an independent module not depending
on the nfs client.

Tested with rump_nfs (standalone client), rump_nfsd (standalone
nfsd) and a qemu installation with both the client and the server.

Revision 1.78.4.7 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:03 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.6: +2 -2 lines
Diff to previous 1.78.4.6 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Thu Sep 3 21:06:21 2009 UTC (14 years, 7 months ago) by tls
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored) to selected 1.48 (colored)

...and one more missed in the earlier commit (sigh).  Kernels should build
again now.

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:53 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.85.4.1: +5 -2 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.78.4.6 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:26 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.5: +3 -2 lines
Diff to previous 1.78.4.5 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Tue Jul 7 14:09:05 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored) to selected 1.48 (colored)

The compatibility call to re-export from sys_mount() calls
mountd_set_exports_list, with the mnt_updating mutex held. Account for that
to avoid a locking against myself panic.

Revision 1.78.4.5 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:34 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.4: +3 -1 lines
Diff to previous 1.78.4.4 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Sat May 23 15:31:21 2009 UTC (14 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored) to selected 1.48 (colored)

- Fix a race between umount()/mount() and nfssvc().
- Toss netexport state on nfsserver module unload.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:51 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.48 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.78.4.4 / (download) - annotate - [select for diffs], Mon May 4 10:28:53 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.3: +2 -1 lines
Diff to previous 1.78.4.3 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

fix merge botches.

Revision 1.78.4.3 / (download) - annotate - [select for diffs], Mon May 4 08:14:22 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.2: +17 -13 lines
Diff to previous 1.78.4.2 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:45 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.82.2.1: +2 -2 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:11 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.48 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:20 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.82: +12 -9 lines
Diff to previous 1.82 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.77.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:34 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.77.6.2: +13 -9 lines
Diff to previous 1.77.6.2 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.79.6.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:28 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.79.6.1: +14 -10 lines
Diff to previous 1.79.6.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored) to selected 1.48 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Nov 28 06:47:08 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.84: +1 -4 lines
Diff to previous 1.84 (colored) to selected 1.48 (colored)

g/c unused malloc types

Revision 1.84 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:09 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.83: +12 -4 lines
Diff to previous 1.83 (colored) to selected 1.48 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.83 / (download) - annotate - [select for diffs], Fri Nov 14 13:33:56 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.82: +1 -3 lines
Diff to previous 1.82 (colored) to selected 1.48 (colored)

Remove COMPAT ifdefs that might as well be comments (i.e., they cost us
almost nothing).

Revision 1.82 / (download) - annotate - [select for diffs], Wed Oct 22 12:29:35 2008 UTC (15 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.48 (colored)

Don't need nfs_vfs_reinit anymore since we don't resize tables anymore.
Move reinit code to init case.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Oct 22 11:36:06 2008 UTC (15 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored) to selected 1.48 (colored)

Change NFS to use a RB-tree for its FH->nfsnode lookups.

Revision 1.79.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:59 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:35:43 2008 UTC (15 years, 6 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.77.6.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:33 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.77.6.1: +3 -3 lines
Diff to previous 1.77.6.1 (colored) to branchpoint 1.77 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Sep 30 14:29:39 2008 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, haad-dm-base1
Changes since 1.79: +4 -4 lines
Diff to previous 1.79 (colored) to selected 1.48 (colored)

Initialize nfsnode pools and malloc type dynamically in the
constructor instead of depending on link sets.  Consequently, rename
nfs_nh{init,reinit,done} to nfs_node_{init,reinit,done}, respectively,
to better convey the function.

Revision 1.77.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:30 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.77: +1 -10 lines
Diff to previous 1.77 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:45 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.78: +1 -8 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.78.4.2 / (download) - annotate - [select for diffs], Fri May 16 02:25:49 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78.4.1: +1 -8 lines
Diff to previous 1.78.4.1 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:10 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.78: +1 -8 lines
Diff to previous 1.78 (colored) to selected 1.48 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Sun Apr 27 12:52:50 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored) to selected 1.48 (colored)

commit some work-in-progress changes to make nfs client mp-safe to a branch,
so that they won't get lost.
	- sprinkle some locking
	- mark the filesystem, nfstimer callout, and kq kthread mp-safe
	- add assertions and comments
	- disable upgrade mount for now
	- some unrelated cosmetic changes

Revision 1.78 / (download) - annotate - [select for diffs], Thu Apr 10 12:32:37 2008 UTC (16 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.77: +1 -3 lines
Diff to previous 1.77 (colored) to selected 1.48 (colored)

- make nfs_receive and nfs_reply static.
- ansify.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:18 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.74.2.2: +1 -6 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.50.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:36 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.7: +5 -8 lines
Diff to previous 1.50.2.7 (colored) next main 1.51 (colored) to selected 1.48 (colored)

sync with head

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:54 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.72.2.1: +13 -10 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.48 (colored)

sync with HEAD

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:57:45 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.75: +4 -7 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.48 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jan 2 19:26:46 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.76: +1 -6 lines
Diff to previous 1.76 (colored) to selected 1.48 (colored)

use kmem_alloc instead of malloc.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:37 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.74.2.1: +5 -3 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.74.4.4 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:54 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.74.4.3: +5 -3 lines
Diff to previous 1.74.4.3 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:14 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.75: +5 -3 lines
Diff to previous 1.75 (colored) to selected 1.48 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.71.4.4 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:45 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.71.4.3: +9 -3 lines
Diff to previous 1.71.4.3 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:24 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.74: +9 -3 lines
Diff to previous 1.74 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.74.4.3 / (download) - annotate - [select for diffs], Sat Dec 8 17:58:05 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.74.4.2: +1 -1 lines
Diff to previous 1.74.4.2 (colored) to branchpoint 1.74 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.50.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:45 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.6: +9 -3 lines
Diff to previous 1.50.2.6 (colored) to selected 1.48 (colored)

sync with head

Revision 1.74.4.2 / (download) - annotate - [select for diffs], Tue Dec 4 18:05:20 2007 UTC (16 years, 4 months ago) by yamt
Branch: vmlocking2
Changes since 1.74.4.1: +2 -2 lines
Diff to previous 1.74.4.1 (colored) to branchpoint 1.74 (colored) to selected 1.48 (colored)

apply the following change, which seems to get lost during
vmlocking -> vmlocking2 transition.

	Module Name:    src
	Committed By:   yamt
	Date:           Sun Oct 21 08:23:20 UTC 2007

	Modified Files:
		src/sys/nfs: nfs_socket.c nfs_var.h

	Log Message:
	remove lwp argument from nfs_reconnect and always use &lwp0
	because who triggers a reconnect doesn't really matter here.  PR/37145.


	To generate a diff of this commit:
	cvs rdiff -r1.163 -r1.164 src/sys/nfs/nfs_socket.c
	cvs rdiff -r1.72 -r1.73 src/sys/nfs/nfs_var.h

	Please note that diffs are not public domain; they are subject to the
	copyright notices on the relevant files.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Dec 4 17:42:32 2007 UTC (16 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.74: +8 -2 lines
Diff to previous 1.74 (colored) to selected 1.48 (colored)

merge non-intrusive nfs changes from vmlocking.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:36 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.74: +10 -4 lines
Diff to previous 1.74 (colored) to selected 1.48 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.50.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:45:20 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.5: +2 -1 lines
Diff to previous 1.50.2.5 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.72.6.2 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:09 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.72.6.1: +1 -0 lines
Diff to previous 1.72.6.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.48 (colored)

Sync with HEAD

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:24 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored) to selected 1.48 (colored)

sync with HEAD

Revision 1.71.4.3 / (download) - annotate - [select for diffs], Mon Oct 29 02:57:26 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.71.4.2: +2 -1 lines
Diff to previous 1.71.4.2 (colored) to branchpoint 1.71 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Oct 28 22:24:29 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs
Changes since 1.73: +1 -0 lines
Diff to previous 1.73 (colored) to selected 1.48 (colored)

make NFS_ATTRTIMEO a function.

Revision 1.50.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:17 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.4: +2 -2 lines
Diff to previous 1.50.2.4 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:14 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.71.4.1: +2 -2 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored) to selected 1.48 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:40:10 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Oct 21 08:23:19 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.48 (colored)

remove lwp argument from nfs_reconnect and always use &lwp0
because who triggers a reconnect doesn't really matter here.  PR/37145.

Revision 1.50.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:44:20 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.3: +17 -21 lines
Diff to previous 1.50.2.3 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.66.2.5 / (download) - annotate - [select for diffs], Sun Aug 26 15:00:06 2007 UTC (16 years, 7 months ago) by yamt
Branch: vmlocking
Changes since 1.66.2.4: +9 -3 lines
Diff to previous 1.66.2.4 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.48 (colored)

- mark nfssvc(2) MPSAFE and move the most of nfsd out of the kernel lock.
- remove unused ns_solock.
- remove some of KERNEL_LOCK/UNLOCK which are not necessary on this branch.

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:13 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.66.2.3: +4 -4 lines
Diff to previous 1.66.2.3 (colored) to branchpoint 1.66 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:50 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:50:04 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Aug 10 15:12:56 2007 UTC (16 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.48 (colored)

- instead of scanning an array of iods, maintain a list of idle iods.
- make nfs_getset_niothreads MP friendly.

Revision 1.71.6.2 / (download) - annotate - [select for diffs], Fri Jul 27 10:03:59 2007 UTC (16 years, 8 months ago) by yamt
Branch: matt-mips64
Changes since 1.71.6.1: +309 -0 lines
Diff to previous 1.71.6.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored) to selected 1.48 (colored)

stop nfs tick when we have nothing to do.

Revision 1.71.6.1, Fri Jul 27 10:03:58 2007 UTC (16 years, 8 months ago) by yamt
Branch: matt-mips64
Changes since 1.71: +0 -309 lines
FILE REMOVED

file nfs_var.h was added on branch matt-mips64 on 2007-07-27 10:03:59 +0000

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jul 27 10:03:58 2007 UTC (16 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, jmcneill-pm
Changes since 1.70: +3 -1 lines
Diff to previous 1.70 (colored) to selected 1.48 (colored)

stop nfs tick when we have nothing to do.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jul 20 15:36:42 2007 UTC (16 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.69: +1 -3 lines
Diff to previous 1.69 (colored) to selected 1.48 (colored)

- fix decreasing of vfs.nfs.iothreads after the recent partial merge
  of vmlocking.
- don't make nfsiod exit with requests left.
- make NFSSVC_BIOD a dummy so that nfsiod can be simplified.

Revision 1.66.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:06 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.66.2.2: +3 -2 lines
Diff to previous 1.66.2.2 (colored) to branchpoint 1.66 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jul 12 19:35:35 2007 UTC (16 years, 9 months ago) by dsl
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored) to selected 1.48 (colored)

Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:14 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.66: +1 -6 lines
Diff to previous 1.66 (colored) next main 1.67 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:15 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.66.2.1: +1 -2 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:07 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.66: +1 -5 lines
Diff to previous 1.66 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Mon May 28 16:47:38 2007 UTC (16 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.67: +0 -1 lines
Diff to previous 1.67 (colored) to selected 1.48 (colored)

- remove nfs_exit exit hook.  ok'ed by christos@.
	- as far as i understand the code, it shouldn't be necessary
	  because nfs_request can't return without removing its request
	  and r->r_lwp is either curlwp or NULL.
	- even if it's necessary, leaking requests is not the correct way
	  to recover from the condition.
- nfs_request: add a related assertion.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:56:11 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.64.2.2: +1 -5 lines
Diff to previous 1.64.2.2 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Apr 29 10:30:19 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.66: +1 -5 lines
Diff to previous 1.66 (colored) to selected 1.48 (colored)

use mutex and condver.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:37 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.64.2.1: +12 -12 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:37 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.65: +12 -12 lines
Diff to previous 1.65 (colored) to selected 1.48 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Feb 28 09:35:40 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.64: +6 -6 lines
Diff to previous 1.64 (colored) to selected 1.48 (colored)

sync with head.  (somehow missed in the previous)

Revision 1.50.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:06 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.2: +6 -6 lines
Diff to previous 1.50.2.2 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:09 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.64: +6 -6 lines
Diff to previous 1.64 (colored) to selected 1.48 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:20 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.63: +1 -27 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:52 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50.2.1: +10 -31 lines
Diff to previous 1.50.2.1 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 27 12:10:09 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.63: +1 -27 lines
Diff to previous 1.63 (colored) to selected 1.48 (colored)

remove nqnfs.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:25 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.58: +37 -34 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.48 (colored)

sync with head

Revision 1.58.6.3 / (download) - annotate - [select for diffs], Sun Sep 3 15:25:56 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.58.6.2: +8 -4 lines
Diff to previous 1.58.6.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Sep 2 12:40:36 2006 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: newlock2
Changes since 1.62: +7 -3 lines
Diff to previous 1.62 (colored) to selected 1.48 (colored)

nfsd: deal with variable-sized filehandles.

Revision 1.58.6.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:05 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.58.6.1: +3 -2 lines
Diff to previous 1.58.6.1 (colored) to branchpoint 1.58 (colored) to selected 1.48 (colored)

sync with head

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Sun Jul 16 12:23:00 2006 UTC (17 years, 9 months ago) by ghen
Branch: netbsd-3-0
CVS Tags: netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.48 (colored)

Pull up following revision(s) (requested by jld in ticket #1424):
	sys/nfs/nfs_vnops.c: revision 1.240 via patch
	sys/nfs/nfs_var.h: revision 1.62 via patch
Fix race condition in NFS renaming that could cause the renamed file to be
deleted (PR/33861).

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Sun Jul 16 12:21:21 2006 UTC (17 years, 9 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.48 (colored)

Pull up following revision(s) (requested by jld in ticket #1424):
	sys/nfs/nfs_vnops.c: revision 1.240 via patch
	sys/nfs/nfs_var.h: revision 1.62 via patch
Fix race condition in NFS renaming that could cause the renamed file to be
deleted (PR/33861).

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:06 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored) next main 1.62 (colored) to selected 1.48 (colored)

Merge from HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jul 1 11:29:42 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.48 (colored)

if a file is sillyrename'ed because it's a destination of rename,
make sillyrename (try to) use LINK operation rather than RENAME.
PR/33861 from Jed Davis.  he provided the almost same patch.
according to him, it also happen to be what opensolaris does in this case.

from the PR:
> In nfs_rename(), if the destination appears to exist and is "in use"
> (this check is apparently satisfied even if the file isn't in use by
> anything except the rename itself), it will sillyrename it, then delete
> the sillyrenamed file even if the rename fails -- for instance, because
> the "from" file no longer exists on the server.

> mkdir a b; touch a/x; perl -e 'fork(); rename("a/x","b/x") or die "$!\n"'
>
> Afterwards, neither a/x nor b/x will exist.

> 1) Lookup of b/x; fails with NOENT.
> 2) Rename from a/x to b/x; succeeds.
> 3) Lookup of b/x; fails with NOENT.
> 4) Rename from b/x to b/.nfsA23a3; succeeds.
> 5) Rename from a/x to b/x; fails with NOENT.
> 6) Remove of b/.nfsA23a3; succeeds.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:11:59 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.50: +218 -219 lines
Diff to previous 1.50 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:13 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.58: +29 -31 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.58.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:46 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.58: +28 -30 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.48 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:15 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.58: +29 -31 lines
Diff to previous 1.58 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Fri May 19 13:53:12 2006 UTC (17 years, 11 months ago) by yamt
Branch: chap-midi
Changes since 1.61.2.1: +334 -0 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.48 (colored)

- fix compilation problem for !NFSSERVER && NFS.
  pointed by Tom Spindler on source-changes@.
- make nfs_srvdesc_pool static.

Revision 1.61.2.1, Fri May 19 13:53:11 2006 UTC (17 years, 11 months ago) by yamt
Branch: chap-midi
Changes since 1.61: +0 -334 lines
FILE REMOVED

file nfs_var.h was added on branch chap-midi on 2006-05-19 13:53:12 +0000

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 19 13:53:11 2006 UTC (17 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart, chap-midi
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.48 (colored)

- fix compilation problem for !NFSSERVER && NFS.
  pointed by Tom Spindler on source-changes@.
- make nfs_srvdesc_pool static.

Revision 1.60 / (download) - annotate - [select for diffs], Thu May 18 12:44:45 2006 UTC (17 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.48 (colored)

- fix some leaks in nfsd, introduced by kauth changes.
- simplify code.
- add some assertions.
- wrap some long lines.
- remove an unnecessary ";".

Revision 1.59 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.58: +26 -28 lines
Diff to previous 1.58 (colored) to selected 1.48 (colored)

integrate kauth.

Revision 1.58.8.3 / (download) - annotate - [select for diffs], Sat May 6 23:32:11 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.58.8.2: +2 -4 lines
Diff to previous 1.58.8.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored) to selected 1.48 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.58.8.2 / (download) - annotate - [select for diffs], Fri Mar 10 22:38:09 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.58.8.1: +2 -2 lines
Diff to previous 1.58.8.1 (colored) to branchpoint 1.58 (colored) to selected 1.48 (colored)

Cleanup more interface abuse.

Make nfsrv_setcred() take a kauth_cred_t * as outcred. The original code
just modified it directly; we can't do that, nor do we want to.

Get rid of another case of kauth_cred_zero() followed by kauth_cred_hold()
and use kauth_cred_clone() to make sure we don't leave out important
members.

Add another DIAGNOSTIC check for reference count of above one.

Again, this should be tested.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:06:28 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.58: +27 -27 lines
Diff to previous 1.58 (colored) to selected 1.48 (colored)

Adapt to kernel authorization KPI.

This could use some testing...

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:03:04 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.55: +209 -215 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 5 11:22:56 2006 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored) to selected 1.48 (colored)

ensure the export list is not changed during nfsd operations.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 3 12:59:49 2006 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.56: +203 -215 lines
Diff to previous 1.56 (colored) to selected 1.48 (colored)

de-__P.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jan 3 12:30:46 2006 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.55: +5 -1 lines
Diff to previous 1.55 (colored) to selected 1.48 (colored)

move function prototypes from nfs.h to nfs_var.h.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:17 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.54: +55 -55 lines
Diff to previous 1.54 (colored) to selected 1.48 (colored)

merge ktrace-lwp.

Revision 1.41.2.11 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:36 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.41.2.10: +3 -2 lines
Diff to previous 1.41.2.10 (colored) next main 1.42 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.53.6.4 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:22 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.53.6.3: +3 -2 lines
Diff to previous 1.53.6.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.53.6.3 / (download) - annotate - [select for diffs], Tue Nov 22 15:39:43 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.53.6.2: +1 -2 lines
Diff to previous 1.53.6.2 (colored) to branchpoint 1.53 (colored) to selected 1.48 (colored)

remove uvm_ractx forward decl. which is no longer used.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 22 04:44:29 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored) to selected 1.48 (colored)

- reduce number of linear search per rpc.
- coalesce mount_netexport_pair into netexport.

Revision 1.53.6.2 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:54 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.53.6.1: +2 -3 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) to selected 1.48 (colored)

- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Tue Nov 15 03:48:47 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored) to selected 1.48 (colored)

adapt ffs, lfs, nfs.

Revision 1.41.2.10 / (download) - annotate - [select for diffs], Thu Nov 10 14:11:56 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.9: +15 -10 lines
Diff to previous 1.41.2.9 (colored) to selected 1.48 (colored)

Sync with HEAD. Here we go again...

Revision 1.53 / (download) - annotate - [select for diffs], Sun Sep 25 21:57:40 2005 UTC (18 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.52: +4 -1 lines
Diff to previous 1.52 (colored) to selected 1.48 (colored)

Add some COMPAT_30 code to let old mountd binaries work after the NFS
exports rototill.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:33 2005 UTC (18 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.51: +6 -3 lines
Diff to previous 1.51 (colored) to selected 1.48 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jul 7 02:05:03 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.48 (colored)

1. use p = uio->uio_procp consistently and eliminate suspicious uses
   of curproc (where uio->uio_procp should be used?). Don't do this
   for nfs_commit(), because yamt says it is possibly wrong.
2. nfs_doio() does not use struct proc; remove it and the code to compute it.
3. use copyin_proc() and copyout_proc() instead of copyin() and copyout().
4. check return of copyout_proc(). and mark return from copyin_proc() XXX
5. Eliminate check p == curproc assertion check from nfs_write;
   nfs_read does not have it and we might be called in a different
   process context anyway (PR 20138).

Revision 1.50 / (download) - annotate - [select for diffs], Sun May 29 20:58:13 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.48 (colored)

- sprinkle const
- avoid shadowed variables
- mark bad const use with XXXUNCONST

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:37 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.47: +5 -1 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync with -current

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:55 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.41.2.9 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:04 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.8: +3 -1 lines
Diff to previous 1.41.2.8 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jan 27 11:33:26 2005 UTC (19 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-1-RELEASE, kent-audio2-base
Branch point for: netbsd-3-0, netbsd-3
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

keep directory eof cache when inactivating vnode
because there's no reason to throw it away.
(fix an unintended side effect of nfs_subs.c rev.1.144.)

Revision 1.41.2.8 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:53 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.7: +3 -1 lines
Diff to previous 1.41.2.7 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [selected], Wed Jan 19 16:22:19 2005 UTC (19 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

implement inaccurate mtime/ctime detection.
namely, if mtime or ctime are same between pre_op_attr and post_op_attr
when we expected them to be changed, don't trust the server.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Tue Jan 11 06:39:55 2005 UTC (19 years, 3 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Changes since 1.42.2.2: +2 -2 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.48 (colored)

Pullup patch (requested by yamy in ticket #1078)

	Don't do kludge for a reply to a retransmitted request
	unless we actually retransmitted the request.

Revision 1.42.2.2.2.1 / (download) - annotate - [select for diffs], Tue Jan 11 06:39:07 2005 UTC (19 years, 3 months ago) by jmc
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.42.2.2: +2 -2 lines
Diff to previous 1.42.2.2 (colored) next main 1.42.2.3 (colored) to selected 1.48 (colored)

Pullup patch (requested by yamy in ticket #1078)

	Don't do kludge for a reply to a retransmitted request
	unless we actually retransmitted the request.

Revision 1.41.2.7 / (download) - annotate - [select for diffs], Sat Dec 18 09:33:17 2004 UTC (19 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.6: +3 -1 lines
Diff to previous 1.41.2.6 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Dec 14 09:13:13 2004 UTC (19 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.46: +3 -1 lines
Diff to previous 1.46 (colored) to selected 1.48 (colored)

- centerize code to invalidate stale cache.
- don't ignore errors when invalidating buffers in nfs_open.

Revision 1.41.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:41 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.5: +58 -57 lines
Diff to previous 1.41.2.5 (colored) to selected 1.48 (colored)

Fix the sync with head I botched.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 19:22:19 2004 UTC (19 years, 7 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Branch point for: netbsd-2
Changes since 1.42.2.1: +2 -1 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) to selected 1.48 (colored)

Pull up revision 1.46 (requested by yamt in ticket #858):
  Fix access-after-free bugs in dircache code by reference
  counting nfsdircache.  Fixes PR#26864.

Revision 1.41.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:20 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.4: +58 -58 lines
Diff to previous 1.41.2.4 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 15 09:50:56 2004 UTC (19 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored) to selected 1.48 (colored)

fix access-after-free bugs in dircache code by refcounting nfsdircache.
PR/26864.

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:41 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.3: +2 -2 lines
Diff to previous 1.41.2.3 (colored) to selected 1.48 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Wed Aug 18 10:19:08 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.2: +2 -2 lines
Diff to previous 1.41.2.2 (colored) to selected 1.48 (colored)

Revert to passing struct proc for {exit,exec}hook.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:19 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.41.2.1: +16 -10 lines
Diff to previous 1.41.2.1 (colored) to selected 1.48 (colored)

Sync with HEAD

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Jul 10 14:32:04 2004 UTC (19 years, 9 months ago) by tron
Branch: netbsd-2-0
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) to selected 1.48 (colored)

Pull up revision 1.43 (requested by tls in ticket #634):
nfs_readdirplusrpc: fix a deadlock problem.
don't wait for vnode lock to load attributes.
otherwise, because READDIRPLUS returns DOTDOT entry as well,
we violate locking order.

Revision 1.45 / (download) - annotate - [select for diffs], Sat May 22 22:52:16 2004 UTC (19 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.44: +9 -8 lines
Diff to previous 1.44 (colored) to selected 1.48 (colored)

Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.

Revision 1.44 / (download) - annotate - [select for diffs], Mon May 10 10:40:42 2004 UTC (19 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.48 (colored)

don't do kludge for a reply to a retransmitted request
unless we actually retransmitted the request.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 5 10:44:09 2004 UTC (20 years ago) by yamt
Branch: MAIN
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) to selected 1.48 (colored)

nfs_readdirplusrpc: fix a deadlock problem.
don't wait for vnode lock to load attributes.
otherwise, because READDIRPLUS returns DOTDOT entry as well,
we violate locking order.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 23 13:52:25 2003 UTC (20 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored) to selected 1.48 (colored)

when rexmitting a request due to NFSERR_JUKEBOX,
use a new xid as RFC1813 says.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:11 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.41: +50 -49 lines
Diff to previous 1.41 (colored) to selected 1.48 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:19 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.40: +48 -48 lines
Diff to previous 1.40 (colored) to selected 1.48 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:37 2003 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored) to selected 1.48 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:18 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.38: +50 -49 lines
Diff to previous 1.38 (colored) to selected 1.48 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jun 9 13:10:32 2003 UTC (20 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.48 (colored)

rework zero padding of rpc reply.
- for READ procedure, don't send back more bytes than requested.
- don't have doubtful assumptions on mbuf chain structure.
- rename a function (nfsm_adj -> nfs_zeropad) to avoid confusion as
  the semantics of the function was changed.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 22 14:16:24 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored) to selected 1.48 (colored)

poolify nfsrv_descript.

Revision 1.36 / (download) - annotate - [select for diffs], Thu May 22 14:14:03 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.48 (colored)

avoid double free with xlatecookie.

Revision 1.35 / (download) - annotate - [select for diffs], Thu May 22 14:11:50 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.48 (colored)

interlock for nfs_rcvlock.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 21 13:27:19 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.48 (colored)

eliminate memcpy in the common and easy case of write.

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 7 16:18:54 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.48 (colored)

simple lock for nfs iod.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 5 13:21:00 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.48 (colored)

keep things not needed by userland in #ifdef _KERNEL.
(e.g. prototypes for in-kernel functions)

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 3 16:28:58 2003 UTC (20 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.48 (colored)

better handling of write verifier change.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Apr 24 21:21:06 2003 UTC (20 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.48 (colored)

Change some subordinate functions to take a "struct nfsnode" argument
instead of "struct vnode". This saves a number of pointer dereferences;
it sums up to about half a kB for me. And it paves the way for future
fixes.
While cleaning up, eliminate a write-only member of "struct nfsreq"
and a pointless assignment in the NFS_V2_ONLY case.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Mar 28 15:13:35 2003 UTC (21 years ago) by yamt
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.48 (colored)

i forgot to check this in with the previous (reply ENAMETOOLONG properly).

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 2 02:34:53 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored) to selected 1.48 (colored)

protect <sys/mallocvar.h> ifdef _KERNEL

Revision 1.27 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:49 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +12 -1 lines
Diff to previous 1.26 (colored) to selected 1.48 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 18 09:34:32 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) to selected 1.48 (colored)

Merge the nathanw_sa branch.

Revision 1.19.2.6 / (download) - annotate - [select for diffs], Mon Nov 11 22:16:11 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.19.2.5: +4 -1 lines
Diff to previous 1.19.2.5 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.48 (colored)

Catch up to -current

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:51 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored) to selected 1.48 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Tue Oct 22 18:09:44 2002 UTC (21 years, 5 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.19.2.4: +7 -3 lines
Diff to previous 1.19.2.4 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 21 12:52:34 2002 UTC (21 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.23: +7 -3 lines
Diff to previous 1.23 (colored) to selected 1.48 (colored)

fix a page locking deadlock problem for nfs.

add a flag that specify if the file can be truncated safely or not
to nfsm_loadattr and friends.  when it isn't safe, just mark the nfsnode
as "should be truncated later".

ok'ed by Frank van der Linden and Chuck Silvers.
close kern/18036.

Revision 1.19.4.4 / (download) - annotate - [select for diffs], Mon Sep 30 20:43:45 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.4.3: +4 -1 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.48 (colored)

add support for kevents to NFS
to detect file changes on server by other NFS clients, polling kernel thread
is used to periodically check for attribute changes of watched files;
the NFS server is only contacted when the vnode expires from local attrcache
(which takes 5-60 seconds currently), to keep network&CPU overhead low

the routine checking for remote changes is quite simplistic, but hopefully
doing it's job well enough

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:50 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.4.2: +2 -1 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

catch up with -current on kqueue branch

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:08 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.2.3: +3 -2 lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 17 22:22:40 2002 UTC (22 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) to selected 1.48 (colored)

use the exithook mechanism to remove the exiting process from the list
of processes to be signalled in a soft mount.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:20 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.19.4.1: +2 -2 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Mar 11 22:55:05 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.48 (colored)

nfs_enterdircache() had last two parameter types swapped
Noted in kern/14742 by John Franklin.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:27 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.48 (colored)

Sync kqueue branch with -current.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:33 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.2.2: +1 -2 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 5 23:58:14 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored) to selected 1.48 (colored)

don't need nfs_hash prototype here

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:03 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:57 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.2.1: +2 -1 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 15 16:13:02 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) to selected 1.48 (colored)

add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:50:00 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.48 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Thu Dec 14 23:37:15 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.17: +11 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.48 (colored)

Pull up revision 1.18 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

Revision 1.15.12.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:19:23 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.15.12.1: +12 -14 lines
Diff to previous 1.15.12.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:50 2000 UTC (23 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.18: +12 -14 lines
Diff to previous 1.18 (colored) to selected 1.48 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.15.12.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:20 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.15: +14 -3 lines
Diff to previous 1.15 (colored) to selected 1.48 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 19 22:14:59 2000 UTC (23 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +11 -3 lines
Diff to previous 1.17 (colored) to selected 1.48 (colored)

Add prototypes for commitrange functions.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 15 21:14:52 2000 UTC (24 years ago) by tsarna
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored) to selected 1.48 (colored)

Death to nfsiod!

It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:30 2000 UTC (24 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.48 (colored)

Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 5 14:29:52 1998 UTC (25 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.14: +23 -16 lines
Diff to previous 1.14 (colored) to selected 1.48 (colored)

Assign copyright to TNF.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 25 22:15:29 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.48 (colored)

- Rename nqnfs_vop_lease_check() to genfs_lease_check().  If NFSSERVER is
  not in the kernel, genfs_lease_check() is simply a no-op.  This allows
  LKM'd file systems to be exported (previously did not work properly
  due to a compile-time decision based on -DNFSSERVER).
- defopt NFSSERVER

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 29 05:13:00 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) to selected 1.48 (colored)

add forward decl for union nethostaddr.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sat Feb 7 05:40:35 1998 UTC (26 years, 2 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.48 (colored)

Pull up 1.12

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 30 22:44:14 1998 UTC (26 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.48 (colored)

Only take the receive lock before disconnecting when doing it from
nfs_decode_args. Otherwise we might just end up locking against ourselves.

XXX workaround, will do ok for now. Proper fix forthcoming.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 19 01:46:36 1997 UTC (26 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored) to selected 1.48 (colored)

* Implement optional 32 <-> 64 bit directory cookie translation. This uses
  the directory cache as translation table. See nfs_subs.c for comments.
  Makes the code a bit more complex to look at than I would have liked,
  but doesn't affect the speed of the default behavior.
* Optimize caching behavior a bit when buffers are invalidated.
* Save some RPCs in readdir operations by not bothering if there is
  a small amount left to do to fill the buffer. It'll be done in the
  next RPC with a larger chunk anyway. Wastes a bit of buffer space
  but is faster.
* Make n_vattr an allocated vattr struct. This avoids nfsnode bloat,
  and is friendlier to the malloc routines.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Tue Oct 14 15:58:41 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8.2.1: +10 -4 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.48 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 10 01:53:28 1997 UTC (26 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.9: +10 -4 lines
Diff to previous 1.9 (colored) to selected 1.48 (colored)

* New directory entry caching system. Provides full caching of any
  directory cookie that may be thrown back at us from userspace, up
  to a size limit. Fixes double entry problem.
* Split flags for internal and external use in the NFS mount structure.
* Fix some buffer structure fields that weren're being used correctly.
* Fix missing directory cache inval call in nfs_open.
* Limit on NFS_DIRBLKSIZ no longer needed, bumped to the more reasonable
  value of 8k.
* Various other things that I forget, all related to the dir caching
  somehow, though.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Sep 1 21:02:57 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored) to selected 1.48 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 29 16:06:41 1997 UTC (26 years, 7 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored) to selected 1.48 (colored)

The nfs_boot_xxx functions are declared in nfsdiskless.h
so remove the duplicate declarations here.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 14 20:46:21 1997 UTC (26 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored) to selected 1.48 (colored)

Don't assume that pointers into mbuf data remain valid across nfsm_dissect.
In readdirplus, don't keep such pointers but store the file attributes
in a variable instead until they are needed. Change nfsm_loadattr*
a bit so it can accept a direct pointer to an nfs_fattr structure.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 24 23:39:34 1997 UTC (26 years, 9 months ago) by fvdl
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored) to selected 1.48 (colored)

Add prototype for nfs_ispublicfh, change the ones for nfs_namei and
nfsrv_fhtovp.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 11 00:01:58 1996 UTC (27 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) to selected 1.48 (colored)

Give permission to the owner of the file to preserve semantics only
in the relevant cases (read, write). Fixes PR 3017.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 25 23:14:11 1996 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored) to selected 1.48 (colored)

make the namei struct members ni_dirp and ni_next, and the componentname
struct member cn_nameptr 'const', since they should never be used to
modify the path name.  (Only the pathname buffer, cn_pnbuf, should be
modified.)  Propagate the const poisoning to code that uses the namei
and componentname structs.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 1 23:49:04 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +1 -45 lines
Diff to previous 1.3 (colored) to selected 1.48 (colored)

Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 18 11:53:54 1996 UTC (28 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.2: +169 -77 lines
Diff to previous 1.2 (colored) to selected 1.48 (colored)

Bring in a merge of Rick Macklem's NFSv3 code from Lite2

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 13 17:06:52 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored) to selected 1.48 (colored)

add 2 missing fwd struct declarations

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 9 21:48:37 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Diff to selected 1.48 (colored)

nfs prototype changes

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>