The NetBSD Project

CVS log for src/sys/rump/librump/rumpvfs/rumpvnode_if.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / rump / librump / rumpvfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.40.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 16:52:28 2023 UTC (9 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.3.4.2 (colored)

Regen (ticket #197)

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 15 09:15:13 2023 UTC (9 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jul 18 04:32:35 2022 UTC (20 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.39: +1 -1 lines
Diff to previous 1.39 (colored) to selected 1.3.4.2 (colored)

Regen for:

Make kqueue event status for vnodes shareable, and for stacked file systems
like nullfs, make the upper vnode share that status with the lower vnode.

And, lo, NetBSD 9.99.99.

Fixes PR kern/56713.

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 3 13:55:29 2022 UTC (22 months, 3 weeks ago) by hannken
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 3 08:35:11 2022 UTC (22 months, 3 weeks ago) by hannken
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 20 03:13:14 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored) to selected 1.3.4.2 (colored)

Regen for:

Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.

Revision 1.34.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:43 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.34: +18 -4 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 2 16:57:16 2021 UTC (2 years, 8 months ago) by dholland
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
Changes since 1.35: +1 -1 lines
Diff to previous 1.35 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 29 22:37:11 2021 UTC (2 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.34: +16 -2 lines
Diff to previous 1.34 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 16 18:31:53 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.33: +61 -2 lines
Diff to previous 1.33 (colored) to selected 1.3.4.2 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:01 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.3.4.2 (colored)

Merge changes from current as of 20200406

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:09 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.3.4.2 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Feb 23 22:15:19 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 1 13:58:53 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.3.4.2 (colored)

Regen for VOP_LOCK & LK_UPGRADE/LK_DOWNGRADE.

Revision 1.11.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:17 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.11.12.1: +3 -3 lines
Diff to previous 1.11.12.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.3.4.2 (colored)

update from HEAD

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:15 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.16.4.2: +4 -4 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Tue Jul 25 01:29:56 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.28.2.1: +4 -4 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.3.4.2 (colored)

regen for ticket 130

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 12 09:31:59 2017 UTC (6 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, 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, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun Jun 4 20:35:01 2017 UTC (6 years, 9 months ago) by bouyer
Branch: netbsd-8
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.3.4.2 (colored)

pullup the following revisions, requested by hannken in ticket #2:
	src/share/man/man9/fstrans.9			1.25
	src/sys/kern/vfs_mount.c			1.66
	src/sys/kern/vfs_subr.c				1.468
	src/sys/kern/vfs_trans.c			1.46
	src/sys/kern/vfs_vnode.c			1.94, 1.95, 1.96
	src/sys/kern/vnode_if.c				1.105, 1.106
	src/sys/kern/vnode_if.sh			1.65, 1.66
	src/sys/kern/vnode_if.src			1.76
	src/sys/miscfs/genfs/genfs_io.c			1.69
	src/sys/miscfs/genfs/genfs_vnops.c		1.196, 1.197
	src/sys/miscfs/genfs/layer_extern.h		1.40
	src/sys/miscfs/genfs/layer_vfsops.c		1.51
	src/sys/miscfs/genfs/layer_vnops.c		1.67
	src/sys/miscfs/nullfs/null_vnops.c		1.42
	src/sys/miscfs/overlay/overlay_vnops.c		1.24
	src/sys/miscfs/umapfs/umap_vnops.c		1.60
	src/sys/rump/include/rump/rumpvnode_if.h	1.29, 1.30
	src/sys/rump/librump/rumpkern/emul.c		1.182
	src/sys/rump/librump/rumpvfs/rumpvnode_if.c	1.29, 1.30
	src/sys/sys/fstrans.h				1.11
	src/sys/sys/vnode.h				1.278
	src/sys/sys/vnode_if.h				1.100, 1.101
	src/sys/sys/vnode_impl.h			1.14, 1.15
	src/sys/ufs/lfs/lfs_pages.c			1.12

Vnode state, lock and fstrans cleanup:
- Rename vnode state "VS_ACTIVE" to "VS_LOADED" and add synthetic
  state "VS_ACTIVE" to assert a loaded vnode with usecount > 0.

- Redo FSTRANS in vnode_if.c and use it for VOP_LOCK and VOP_UNLOCK.

- Cleanup the genfs lock operations.

- Make "struct vnode_impl" member "vi_lock" a krwlock_t again.

- Remove the lock type argument from fstrans_start and
  fstrans_start_nowait,
  remove now unused FSTRANS state "FSTRANS_SUSPENDING".

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 4 08:05:42 2017 UTC (6 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored) to selected 1.3.4.2 (colored)

Operations fstrans_start() and fstrans_start_nowait() now always
use FSTRANS_SHARED as lock type so remove the lock type argument.

File system state FSTRANS_SUSPENDING is now unused so remove it.

Regen vnode_if files.

Ride 8.99.1 less than a hour ago.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 4 08:00:27 2017 UTC (6 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 26 14:21:54 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.27 / (download) - annotate - [select for diffs], Wed Apr 26 03:04:24 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:30 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.20.2.1: +4 -4 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:07 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 16 17:18:55 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored) to selected 1.3.4.2 (colored)

regen to confirm no functional change

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 16 16:49:26 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 15 23:21:46 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (colored) to selected 1.3.4.2 (colored)

regen to confirm no functional change

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 11 14:30:33 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored) to selected 1.3.4.2 (colored)

regen to confirm no functional change

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 11 14:26:13 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:53 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 22 09:47:18 2017 UTC (7 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.3.4.2 (colored)

Regen.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:37 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.16.4.1: +3 -3 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 26 23:30:10 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.19: +3 -5 lines
Diff to previous 1.19 (colored) to selected 1.3.4.2 (colored)

regen vnode interfaces

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 26 23:12:18 2016 UTC (8 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored) to selected 1.3.4.2 (colored)

Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories.  Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:29 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 20 23:11:27 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored) to selected 1.3.4.2 (colored)

regen for good measure (no functional change)

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:09 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored) to selected 1.3.4.2 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.11: +32 -4 lines
Diff to previous 1.11 (colored) to selected 1.3.4.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.15: +31 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.3.4.2 (colored)

Rebase.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 25 08:18:50 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.15: +29 -1 lines
Diff to previous 1.15 (colored) to selected 1.3.4.2 (colored)

Regen for VOP_FALLOCATE/VOP_FDISCARD.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:16 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.3.4.2 (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.11.16.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:19 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.11.16.1: +4 -4 lines
Diff to previous 1.11.16.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.3.4.2 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:23 2014 UTC (10 years, 1 month ago) by hannken
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.14: +1 -1 lines
Diff to previous 1.14 (colored) to selected 1.3.4.2 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:57 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored) to selected 1.3.4.2 (colored)

Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:03 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.3.4.2 (colored)

Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29

Revision 1.11.16.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:37 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.3.4.2 (colored)

sync with head

Revision 1.11.24.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:37 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.3.4.2 (colored)

sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 17 21:21:34 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 8 12:17:28 2011 UTC (12 years, 7 months ago) by manu
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, riastradh-drm2-base, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, riastradh-drm2
Changes since 1.10: +0 -0 lines
Diff to previous 1.10 (colored) to selected 1.3.4.2 (colored)

regen

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 11 08:27:39 2011 UTC (12 years, 8 months ago) by hannken
Branch: MAIN
Changes since 1.9: +7 -10 lines
Diff to previous 1.9 (colored) to selected 1.3.4.2 (colored)

Change VOP_BWRITE() to take a vnode as its first argument like all other
VOPs do.  Layered file systems no longer have to modify bp->b_vp and run
into trouble when an async VOP_BWRITE() uses the wrong vnode.

- change all occurences of VOP_BWRITE(bp) to VOP_BWRITE(bp->b_vp, bp).
- remove layer_bwrite().
- welcome to 5.99.55

Adresses PR kern/38762 panic: vwakeup: neg numoutput

No objections from tech-kern@.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 4 08:07:31 2011 UTC (12 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.8: +4 -3 lines
Diff to previous 1.8 (colored) to selected 1.3.4.2 (colored)

Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
filesystem in which format extended attribute shall be listed.

There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
  extattr_list_file(2), which is obtanined by setting the
  EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)

This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:08 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:18 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.4.2: +3 -3 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:37 2011 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored) to selected 1.3.4.2 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Thu Jan 20 14:24:59 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.3.4.2 (colored)

Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:04 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.3.2.1: +4 -5 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.1.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:08 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.10.3: +220 -1327 lines
Diff to previous 1.1.10.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.3.4.2 (colored)

sync with head.

Revision 1.3.4.2 / (download) - annotate - [selected], Sat Jul 3 01:20:03 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.4.1: +6 -7 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:18 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored) to selected 1.3.4.2 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:07 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3: +218 -1324 lines
Diff to previous 1.3 (colored) to selected 1.3.4.2 (colored)

sync with head

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:31 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.3: +216 -1322 lines
Diff to previous 1.3 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 14 14:00:04 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.5: +216 -1271 lines
Diff to previous 1.5 (colored) to selected 1.3.4.2 (colored)

regen: rump vnodeif went on a diet

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 14 12:21:05 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.4: +1 -4 lines
Diff to previous 1.4 (colored) to selected 1.3.4.2 (colored)

regenefactor for comment and whitespace changes

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 10 19:44:02 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.3: +1 -49 lines
Diff to previous 1.3 (colored) to selected 1.3.4.2 (colored)

regen: remove unused vdesc_transports

Revision 1.1.10.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:39 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.10.2: +101 -343 lines
Diff to previous 1.1.10.2 (colored) to branchpoint 1.1 (colored) to selected 1.3.4.2 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 15 00:32:11 2009 UTC (14 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.2: +96 -1 lines
Diff to previous 1.2 (colored) to selected 1.3.4.2 (colored)

regen: scheduling points

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 29 11:54:52 2009 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.1: +6 -343 lines
Diff to previous 1.1 (colored) to selected 1.3.4.2 (colored)

regen: remove VNODE_LOCKDEBUG

Revision 1.1.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:31 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.10.1: +2082 -0 lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored) to selected 1.3.4.2 (colored)

sync with head.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:27 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.6.1: +2082 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:38 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1.4.1: +2082 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.3.4.2 (colored)

Sync with HEAD.

Revision 1.1.10.1, Wed Nov 19 14:10:49 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -2082 lines
FILE REMOVED

file rumpvnode_if.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:31 +0000

Revision 1.1.6.1, Wed Nov 19 14:10:49 2008 UTC (15 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -2082 lines
FILE REMOVED

file rumpvnode_if.c was added on branch nick-hppapmap on 2009-01-19 13:20:27 +0000

Revision 1.1.4.1, Wed Nov 19 14:10:49 2008 UTC (15 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +0 -2082 lines
FILE REMOVED

file rumpvnode_if.c was added on branch mjf-devfs2 on 2009-01-17 13:29:38 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 19 14:10:49 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2
Diff to selected 1.3.4.2 (colored)

Split vfs out of rumpkern into rumpvfs.  Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.

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>