The NetBSD Project

CVS log for src/sys/ufs/ffs/fs.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Dec 13 22:32:45 2024 UTC (8 weeks, 4 days ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
sys/ufs/ffs/fs.h: Fix confusing comment about struct fs.

This is the on-disk format, not a purely in-memory data structure
like struct ufsmount.  While the on-disk format happens to be copied
into memory, it is misleading to say `in memory' here.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon May 13 00:01:54 2024 UTC (9 months ago) by msaitoh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
s/of of/of/ in comment.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sat May 13 11:51:14 2023 UTC (21 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE, 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
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +27 -27 lines
Pull up following revision(s) (requested by chs in ticket #160):

	usr.sbin/makefs/ffs/ffs_alloc.c: revision 1.31
	sbin/tunefs/tunefs.c: revision 1.58
	sbin/fsck_ffs/setup.c: revision 1.105
	sbin/fsck_ffs/pass5.c: revision 1.56
	usr.sbin/makefs/ffs.c: revision 1.74
	usr.sbin/makefs/ffs/mkfs.c: revision 1.42
	usr.sbin/makefs/Makefile: revision 1.40
	sys/ufs/ffs/fs.h: revision 1.71
	sbin/fsdb/fsdb.c: revision 1.54
	sbin/resize_ffs/resize_ffs.c: revision 1.58
	sbin/fsck_ffs/pass4.c: revision 1.29
	usr.sbin/makefs/ffs/ffs_extern.h: revision 1.9
	sbin/newfs/mkfs.c: revision 1.133
	sys/ufs/ffs/ffs_alloc.c: revision 1.172
	sbin/fsck_ffs/pass1b.c: revision 1.24
	usr.sbin/dumpfs/dumpfs.c: revision 1.68
	sys/ufs/ffs/ffs_extern.h: revision 1.88
	usr.sbin/quotacheck/quotacheck.c: revision 1.51
	sys/ufs/ffs/ffs_subr.c: revision 1.54
	sbin/fsck_ffs/main.c: revision 1.91
	sbin/fsck_ffs/pass1.c: revision 1.63

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:
  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000
    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.
    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.
    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000
    One last pass to get all the unsigned comparisons correct.

In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Jan 7 19:41:30 2023 UTC (2 years, 1 month ago) by chs
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +27 -27 lines
ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:   2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:   Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.


In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Nov 17 06:40:40 2022 UTC (2 years, 2 months ago) by chs
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -1 lines
Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new	fsck_ffs operations "-c	ea" and	"-c no-ea" to convert file systems
from UFS2 to UFS2ea and	vice-versa (both of which delete all existing extended
attributes in the process).

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Sep 18 03:05:20 2021 UTC (3 years, 4 months ago) by christos
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -4 lines
Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD.
Requested by chuq.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat May 16 18:31:53 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -4 lines
Add ACL support for FFS. From FreeBSD.

Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:45 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +9 -1 lines
Sync with HEAD

Revision 1.66.28.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:14 2020 UTC (4 years, 9 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +9 -1 lines
Sync with HEAD

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Apr 18 19:18:34 2020 UTC (4 years, 9 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +9 -1 lines
Extended attribute support for ffsv2, from FreeBSD.

Revision 1.59.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:21 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.59.2.3: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.3: +2 -2 lines
update from HEAD

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:32 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -3 lines
Sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Feb 14 09:06:11 2015 UTC (10 years ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-9-base, netbsd-9-4-RELEASE, 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-3-RELEASE, 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, bouyer-xenpvh-base, 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: phil-wifi, bouyer-xenpvh
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Two typos:
 - "preferrably" -> "preferably"
 - "overriden" -> "overridden"
No functional change.

Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.59.2.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.2: +27 -24 lines
Rebase to HEAD as of a few days ago.

Revision 1.56.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.56.4.2: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.4.2: +39 -36 lines
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.64.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:21 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +5 -2 lines
sync with head

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Sep 3 02:24:01 2013 UTC (11 years, 5 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -2 lines
Add the FS_SUJ flag for journaled softupdates from FreeBSD.

This conflicts with our flag for FS_INDEXDIRS. Apparently FreeBSD
changed that arbitrarily on their end when implementing journaled
softupdates, so follow their lead.

Unfortunately, the new value they use for FS_INDEXDIRS conflicts with
our flag FS_DOQUOTA2 for 64-bit quotas. Since the only thing in our
tree that knows about FS_INDEXDIRS is dumpfs (for printing it), leave
FS_INDEXDIRS commented out.

Also add FS_NFS4ACLS from FreeBSD, commented out because it conflicts
with our FS_DOWAPBL, and FS_TRIM.

(We could honor FS_TRIM as we have code for doing that; however I'm
not sure why FreeBSD chose to make it an on-disk flag instead of e.g.
a mount option and it seems problematic to me. In any case, not in
this commit.)

Also see a post I just made in tech-kern about the flag conflicts.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jun 23 22:03:34 2013 UTC (11 years, 7 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -8 lines
Stick ffs_ in front of the following macros:
   fragstoblks()
   blkstofrags()
   fragnum()
   blknum()

to finish the job of distinguishing them from the lfs versions, which
Christos renamed the other day.

I believe this is the last of the overtly ambiguous exported symbols
from ffs... or at least, the last of the ones that conflicted with lfs.
ffs still pollutes the C namespace very broadly (as does ufs) and this
needs quite a bit more cleanup.

XXX: boo on macros with lowercase names. But I'm not tackling that just yet.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jun 23 07:28:37 2013 UTC (11 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +10 -10 lines
Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:18:39 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.1: +15 -15 lines
resync from head

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jun 23 02:06:05 2013 UTC (11 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -8 lines
fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)

Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Jun 19 17:51:26 2013 UTC (11 years, 7 months ago) by dholland
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +15 -15 lines
Rename ambiguous macros:
   MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:16 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
resync with head

Revision 1.56.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:33 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.56.4.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.4.1: +3 -3 lines
sync with head

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:16 2013 UTC (12 years ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:18 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
sync with head.

Revision 1.56.8.1: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:05:08 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -4 lines
sync to latest -current.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Apr 23 17:19:00 2012 UTC (12 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5 lines
everywhere else it is assumed that the filesystem block size fits into
a 32-bit "int" -- do the cast to quell a compiler warning in a more
sensible way

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Apr 20 02:07:43 2012 UTC (12 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
one more cast

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Apr 19 17:25:38 2012 UTC (12 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
Fix signed/unsigned issues.

Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:17 2011 UTC (13 years, 8 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +8 -3 lines
Sync with HEAD.

Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:20 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +8 -3 lines
sync with head

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 6 17:08:38 2011 UTC (13 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -3 lines
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.55.8.1: download - view: text, markup, annotated - select for diffs
Thu Jan 20 14:25:02 2011 UTC (14 years ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +8 -3 lines
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.49.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:44 2010 UTC (14 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.10.3: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.10.3: +6 -1 lines
sync with head

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jan 31 10:54:10 2010 UTC (15 years ago) by mlelstv
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -1 lines
Fix block shift to work with different device block sizes.

Unlike other filesystems this has some side issues because
the shift values are stored in the superblock and because
userland utitlies share the same fsbtodb macros.

-> the kernel now ignores the value stored in the superblock.
-> the macro adaption is only done for defined(_KERNEL) code.

Revision 1.51.8.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:33:03 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.51.8.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.8.1: +5 -1 lines
Sync with HEAD.

Revision 1.49.10.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:27 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.10.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.10.2: +5 -1 lines
sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Jun 28 09:26:18 2009 UTC (15 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
+/*
+ * NOTE: COORDINATE ON-DISK FORMAT CHANGES WITH THE FREEBSD PROJECT.
+ */

Revision 1.49.10.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:53 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49.10.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.10.1: +2 -1 lines
sync with head

Revision 1.51.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:07 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
Sync with HEAD.

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

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue May 12 21:01:02 2009 UTC (15 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 lines
Reserve a bit for FS_GJOURNAL (from FreeBSD).

Revision 1.49.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:38 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +64 -55 lines
sync with head.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:34:39 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +2 -2 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Feb 23 03:01:13 2009 UTC (15 years, 11 months ago) by dholland
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
typo in comment

Revision 1.49.16.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:10 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +63 -54 lines
Sync with HEAD.

Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:41:06 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +63 -54 lines
Sync with HEAD.

Revision 1.49.12.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:05 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +63 -54 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jul 31 08:49:47 2008 UTC (16 years, 6 months ago) by simonb
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, 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, mjf-devfs2-base, 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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +53 -53 lines
Be consistent with #define<tab>.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jul 31 05:38:06 2008 UTC (16 years, 6 months ago) by simonb
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +17 -8 lines
Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.49.14.2: download - view: text, markup, annotated - select for diffs
Thu Jul 3 16:40:26 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49.14.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.14.1: +7 -2 lines
Store the location of the journal in the superblock.  Currently
nothing really uses this, other than replay checking that what is
in the superblock matches what it expects.

Revision 1.49.14.1: download - view: text, markup, annotated - select for diffs
Tue Jun 10 14:51:23 2008 UTC (16 years, 8 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +11 -7 lines
Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.47.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:28 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.47.4.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.4.1: +2 -2 lines
Sync with HEAD.

Revision 1.45.4.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:09 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.4.2: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.2: +2 -2 lines
sync with head

Revision 1.46.46.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:28 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.46.46.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.46.1: +3 -3 lines
sync with HEAD

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:21 2008 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -2 lines
Sync with HEAD

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:58:02 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -2 lines
Sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Dec 25 18:33:49 2007 UTC (17 years, 1 month ago) by perry
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, simonb-wapbl-nbase, simonb-wapbl-base, 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-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2, haad-dm
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:40 2007 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Sync with HEAD.

Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:35:21 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.1: +2 -2 lines
sync with head

Revision 1.46.44.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:39:24 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.46.44.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.44.1: +2 -2 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Nov 23 18:00:46 2007 UTC (17 years, 2 months ago) by dholland
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Change the fs_clean member of the ffs superblock to be unsigned
(uint8_t instead of int8_t) - this prevents an ugly sign-extension
printing bug as well as formally undefined behavior when you mount an
unclean fs enough times.

From (my own) PR kern/28134; I've been carrying this patch for three
years, long enough to forget about it, and it's had no ill effects in
that time.

reviewed: pooka

Revision 1.46.46.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:35:14 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
sync with HEAD

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:44 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
sync with head.

Revision 1.46.30.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:45:16 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -4 lines
Sync with head.

Revision 1.46.48.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:43:45 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -4 lines
sync with head.

Revision 1.46.44.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:32 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Sep 24 16:20:50 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Fix comment inaccurate from prehistoric times: default MINFREE is 5, not 10

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:25 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -1 lines
merge ktrace-lwp.

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:39 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -4 lines
sync with -current

Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:37:03 2005 UTC (19 years, 11 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -4 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:46 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.3: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.3: +4 -4 lines
Sync with HEAD.

Hi Perry!

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:32:20 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, 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, 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
nuke trailing whitespace

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:09 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.2: preferred, colored
Changes since revision 1.32.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:52 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:50 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +129 -26 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue May 25 14:54:59 2004 UTC (20 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +38 -3 lines
Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.

- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:48:24 2004 UTC (20 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: netbsd-2-base, 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, netbsd-2-0-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, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -2 lines
Rework superblock validation logic to make adding validity tests easier.
Ensure that we don't use the first alternate superblock of a ffsv1
filesystem with 64k blocks (it is in the same place as an ffsv2 sb).
Fixes part of PR kern/24809

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Mar 20 17:26:16 2004 UTC (20 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -3 lines
Change comments - one I wrote earlier wasn't right.
Add a couple of notes about areas of the superblock being reassigned
when ffsv2 was imported.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Mar 20 15:37:12 2004 UTC (20 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +16 -1 lines
Add a large comment about the balls-up caused by the ffsv2 superblock
not being at 8k - causes all sorts of problems, in particular with
ffsv1 filessytems with 64k blocks, and disks that are reformatted from
ffsv1 to ffsv2 (and v.v.).  see also PR kern/24809

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Jan 3 19:18:17 2004 UTC (21 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +42 -1 lines
reintroduce compatbility defines for
fs_headswitch, fs_trkseek, fs_csmask, fs_csshift
fs_postbl, fs_rotbl, cg_blktot, cg_blks, cbtocylno, cbtorpos

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jan 2 06:57:46 2004 UTC (21 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -3 lines
explicitly pad struct appleufslabel and use __attribute__((__packed__))
since apple put the 64 bit uuid field on a 4 byte boundary

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 2 05:08:57 2004 UTC (21 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
add uuid field to apple ufs volume label

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:19:39 2003 UTC (21 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -3 lines
remove unused cs_numclusters field from struct csum_total
this avoids a potential future bug if it is ever used.
before this fix, fsck_ffs would check and fix this field to be zero

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 31 18:53:45 2003 UTC (21 years, 1 month ago) by dbj
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -4 lines
update explanatory comment about NOCSPTRS to reflect that fs_active
is now within that region.
no functional change

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Sep 29 20:34:23 2003 UTC (21 years, 4 months ago) by dbj
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Declare fs_old_flags and fs_flags as unsigned.
This fixes a bug introduced in revision 1.120 of ffs_vfsops dated 2003/09/13
which results in fs_flags having a value of 0x7fffff00 when a superblock
is updated to use the new layout.
Discussed in http://mail-index.netbsd.org/tech-kern/2003/09/28/0003.html

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Aug 21 14:41:00 2003 UTC (21 years, 5 months ago) by dsl
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +13 -9 lines
Split CGSIZE definition so it can be used with 64bit fpg values.
Split cg_start so magic can be done in libsa when it is known that the
filesystem isn't UFS2.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:34:32 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -6 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Apr 5 13:37:36 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +25 -6 lines
* Use the old and new time fields in the superblock as well as a few others
  to determine if this filesystem was mounted by an older kernel after
  having been mounted by a newer one, to avoid some summary mismatches.
* Reinstate support for 4.2 cylinder groups (read-only, as it was before).

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Apr 5 11:12:42 2003 UTC (21 years, 10 months ago) by he
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Remember to prefix the manually-swapped FS magic numbers with 0x.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Apr 3 16:07:09 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5 lines
Avoid truncation of values in some macros that shift 64 bit values.
From FreeBSD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 2 10:39:39 2003 UTC (21 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +177 -145 lines
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 24 21:55:24 2003 UTC (22 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -10 lines
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.13.2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:16:52 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.13.2.7: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.7: +1 -1 lines
Catch up to -current

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Nov 4 16:59:37 2002 UTC (22 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
s/sqiud/squid/ in comment, reported by skrueger at europe com.

Revision 1.13.2.7: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:45:51 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.6: +22 -0 lines
Catch up to -current.

Revision 1.13.6.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:44:55 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.6.4: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.4: +23 -1 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Sep 28 20:11:09 2002 UTC (22 years, 4 months ago) by dbj
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +23 -1 lines
Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.

Revision 1.13.6.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:09 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.6.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.3: +5 -4 lines
catch up with -current on kqueue branch

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:06:31 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.5: +5 -4 lines
Catch up to -current.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Apr 10 14:31:07 2002 UTC (22 years, 10 months ago) by mycroft
Branches: 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, gehenna-devsw-base, gehenna-devsw
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
Add a special case for nrpos=1 to cbtorpos().  This massively reduces CPU usage
by newfs(8) -- and fsck_ffs(8) on a relatively empty file system.  There is
still one divide left in the inner loops, to calculate cylno values.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 10 07:46:10 2002 UTC (22 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Use fsbtodb() rather than multiplying by NSPF().

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:15:28 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +1 -1 lines
Catch up to -current.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:52 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +1 -3 lines
More catchup.

Revision 1.13.6.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:07 2002 UTC (23 years, 1 month ago) by thorpej
Branches: kqueue
Diff to: previous 1.13.6.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.2: +5 -5 lines
Sync kqueue branch with -current.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:49 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +4 -2 lines
Catch up to -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 7 15:25:22 2002 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3 lines
revert part of rev 1.14 -  #include <ufs/ufs/dinode.h>  - because that
makes it MUCH more difficult to reference this file stand-alone.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Dec 18 10:57:22 2001 UTC (23 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -2 lines
Bring over fixes from FreeBSD that weren't incorporated yet, mainly
from Kirk McKusick. They implement taking pending block/inode frees
into account for the sake of correct statfs() numbers, and adding
a new softdep type (newdirblk) to correctly handle newly allocated
directory blocks.

Minor additional changes: 1) swap the newly introduced fs_pendinginodes
and fs_pendingblock fields in ffs_sb_swap, and 2) declare lkt_held
in the debug version of the softdep lock structure volatile, as it
can be modified from interrupt context #ifdef DEBUG.

Revision 1.12.4.8: download - view: text, markup, annotated - select for diffs
Sun Nov 25 20:01:20 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.12.4.7: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.7: +2 -2 lines
Pull up revision 1.21 (requested by lukem):
  Mark fs_cgrotor as unused.

Revision 1.12.4.7: download - view: text, markup, annotated - select for diffs
Sun Nov 25 20:00:41 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.6: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.6: +24 -7 lines
Pull up revision 1.20 (requested by lukem):
  Pull in enhanced ffs_dirpref() algorithm, which provides a
  substantial performance improvement through better locality
  between parent/child directories and their files, and by easing
  the pressure on the buffer cache for metadata operations.

Revision 1.12.4.6: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:38:28 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.5: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.5: +2 -3 lines
Pull up revision 1.19 (requested by lukem):
  Deprecate unused fs_fscktime.

Revision 1.12.4.5: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:34:33 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.4: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.4: +19 -21 lines
Pull up revision 1.18 (requested by lukem):
  Change fs_csp[] from being a fixed size to being an array sized
  as required.  This allows file systems with more than about 15500
  cylinder groups (on 32-bit systems) to be used.

Revision 1.12.4.4: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:33:59 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.3: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.3: +7 -10 lines
Pull up revision 1.17 (requested by lukem):
  Prevent 32-bit overflows by converting to 64-bit quantities in
  appropriate places.

Revision 1.12.4.3: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:31:22 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.2: +3 -3 lines
Pull up revision 1.16 (requested by lukem):
  Replace unused fs_headswitch/trkseek with fs_id.

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:22:13 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.4.1: +68 -60 lines
Pull up revisions 1.14-1.15 (requested by lukem):
  Mark a few fields as unused.  Multiple include protection.
  Also typo corrections.

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 25 19:19:12 2001 UTC (23 years, 2 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
Pull up revision 1.13 (requested by lukem):
  Use int32_t for on-disk time_t representation.
  Convert %q_ to %ll_ in print formats.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:26 2001 UTC (23 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -2 lines
Catch up with -current.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:37:06 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +100 -88 lines
Catch up to -current.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Sep 19 01:38:17 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
- ffs_blkpref() changes:
	- don't both updating fs->fs_cgrotor, since it's actually not used in
	  the kernel. from Manuel Bouyer in [kern/3389]
	- when examining cylinder groups from startcg to startcg-1 (wrapping
	  at fs->fs_ncg), there's no need to check startcg at the end as well
	  as the start...
- highlight in the struct fs declaration that fs_cgrotor is UNUSED

Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:16:30 2001 UTC (23 years, 5 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.1: +99 -87 lines
Update the kqueue branch to HEAD.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Sep 6 02:16:02 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +24 -7 lines
Incorporate the enhanced ffs_dirpref() by Grigoriy Orlov, as found in
FreeBSD (three commits; the initial work, man page updates, and a fix
to ffs_reload()), with the following differences:
- Be consistent between newfs(8) and tunefs(8) as to the options which
  set and control the tuning parameters for this work (avgfilesize & avgfpdir)
- Use u_int16_t instead of u_int8_t to keep track of the number of
  contiguous directories (suggested by Chuck Silvers)
- Work within our FFS_EI framework
- Ensure that fs->fs_maxclusters and fs->fs_contigdirs don't point to
  the same area of memory

The new algorithm has a marked performance increase, especially when
performing tasks such as untarring pkgsrc.tar.gz, etc.

The original FreeBSD commit messages are attached:

=====
mckusick    2001/04/10 01:39:00 PDT
  Directory layout preference improvements from Grigoriy Orlov <gluk@ptci.ru>.
  His description of the problem and solution follow. My own tests show
  speedups on typical filesystem intensive workloads of 5% to 12% which
  is very impressive considering the small amount of code change involved.

  ------

    One day I noticed that some file operations run much faster on
  small file systems then on big ones. I've looked at the ffs
  algorithms, thought about them, and redesigned the dirpref algorithm.

    First I want to describe the results of my tests. These results are old
  and I have improved the algorithm after these tests were done. Nevertheless
  they show how big the perfomance speedup may be. I have done two file/directory
  intensive tests on a two OpenBSD systems with old and new dirpref algorithm.
  The first test is "tar -xzf ports.tar.gz", the second is "rm -rf ports".
  The ports.tar.gz file is the ports collection from the OpenBSD 2.8 release.
  It contains 6596 directories and 13868 files. The test systems are:

  1. Celeron-450, 128Mb, two IDE drives, the system at wd0, file system for
     test is at wd1. Size of test file system is 8 Gb, number of cg=991,
     size of cg is 8m, block size = 8k, fragment size = 1k OpenBSD-current
     from Dec 2000 with BUFCACHEPERCENT=35

  2. PIII-600, 128Mb, two IBM DTLA-307045 IDE drives at i815e, the system
     at wd0, file system for test is at wd1. Size of test file system is 40 Gb,
     number of cg=5324, size of cg is 8m, block size = 8k, fragment size = 1k
     OpenBSD-current from Dec 2000 with BUFCACHEPERCENT=50

  You can get more info about the test systems and methods at:
  http://www.ptci.ru/gluk/dirpref/old/dirpref.html

                                Test Results

               tar -xzf ports.tar.gz               rm -rf ports
    mode  old dirpref new dirpref speedup old dirprefnew dirpref speedup
                               First system
   normal     667         472      1.41       477        331       1.44
   async      285         144      1.98       130         14       9.29
   sync       768         616      1.25       477        334       1.43
   softdep    413         252      1.64       241         38       6.34
                               Second system
   normal     329         81       4.06       263.5       93.5     2.81
   async      302         25.7    11.75       112          2.26   49.56
   sync       281         57.0     4.93       263         90.5     2.9
   softdep    341         40.6     8.4        284          4.76   59.66

  "old dirpref" and "new dirpref" columns give a test time in seconds.
  speedup - speed increasement in times, ie. old dirpref / new dirpref.

  ------

  Algorithm description

  The old dirpref algorithm is described in comments:

  /*
   * Find a cylinder to place a directory.
   *
   * The policy implemented by this algorithm is to select from
   * among those cylinder groups with above the average number of
   * free inodes, the one with the smallest number of directories.
   */

  A new directory is allocated in a different cylinder groups than its
  parent directory resulting in a directory tree that is spreaded across
  all the cylinder groups. This spreading out results in a non-optimal
  access to the directories and files. When we have a small filesystem
  it is not a problem but when the filesystem is big then perfomance
  degradation becomes very apparent.

  What I mean by a big file system ?

    1. A big filesystem is a filesystem which occupy 20-30 or more percent
       of total drive space, i.e. first and last cylinder are physically
       located relatively far from each other.
    2. It has a relatively large number of cylinder groups, for example
       more cylinder groups than 50% of the buffers in the buffer cache.

  The first results in long access times, while the second results in
  many buffers being used by metadata operations. Such operations use
  cylinder group blocks and on-disk inode blocks. The cylinder group
  block (fs->fs_cblkno) contains struct cg, inode and block bit maps.
  It is 2k in size for the default filesystem parameters. If new and
  parent directories are located in different cylinder groups then the
  system performs more input/output operations and uses more buffers.
  On filesystems with many cylinder groups, lots of cache buffers are
  used for metadata operations.

  My solution for this problem is very simple. I allocate many directories
  in one cylinder group. I also do some things, so that the new allocation
  method does not cause excessive fragmentation and all directory inodes
  will not be located at a location far from its file's inodes and data.
  The algorithm is:
  /*
   * Find a cylinder group to place a directory.
   *
   * The policy implemented by this algorithm is to allocate a
   * directory inode in the same cylinder group as its parent
   * directory, but also to reserve space for its files inodes
   * and data. Restrict the number of directories which may be
   * allocated one after another in the same cylinder group
   * without intervening allocation of files.
   *
   * If we allocate a first level directory then force allocation
   * in another cylinder group.
   */

    My early versions of dirpref give me a good results for a wide range of
  file operations and different filesystem capacities except one case:
  those applications that create their entire directory structure first
  and only later fill this structure with files.

    My solution for such and similar cases is to limit a number of
  directories which may be created one after another in the same cylinder
  group without intervening file creations. For this purpose, I allocate
  an array of counters at mount time. This array is linked to the superblock
  fs->fs_contigdirs[cg]. Each time a directory is created the counter
  increases and each time a file is created the counter decreases. A 60Gb
  filesystem with 8mb/cg requires 10kb of memory for the counters array.

    The maxcontigdirs is a maximum number of directories which may be created
  without an intervening file creation. I found in my tests that the best
  performance occurs when I restrict the number of directories in one cylinder
  group such that all its files may be located in the same cylinder group.
  There may be some deterioration in performance if all the file inodes
  are in the same cylinder group as its containing directory, but their
  data partially resides in a different cylinder group. The maxcontigdirs
  value is calculated to try to prevent this condition. Since there is
  no way to know how many files and directories will be allocated later
  I added two optimization parameters in superblock/tunefs. They are:

          int32_t  fs_avgfilesize;   /* expected average file size */
          int32_t  fs_avgfpdir;      /* expected # of files per directory */

  These parameters have reasonable defaults but may be tweeked for special
  uses of a filesystem. They are only necessary in rare cases like better
  tuning a filesystem being used to store a squid cache.

  I have been using this algorithm for about 3 months. I have done
  a lot of testing on filesystems with different capacities, average
  filesize, average number of files per directory, and so on. I think
  this algorithm has no negative impact on filesystem perfomance. It
  works better than the default one in all cases. The new dirpref
  will greatly improve untarring/removing/coping of big directories,
  decrease load on cvs servers and much more. The new dirpref doesn't
  speedup a compilation process, but also doesn't slow it down.

  Obtained from:	Grigoriy Orlov <gluk@ptci.ru>
=====

=====
iedowse     2001/04/23 17:37:17 PDT
  Pre-dirpref versions of fsck may zero out the new superblock fields
  fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
  panics if these fields were zeroed while a filesystem was mounted
  read-only, and then remounted read-write.

  Add code to ffs_reload() which copies the fs_contigdirs pointer
  from the previous superblock, and reinitialises fs_avgf* if necessary.

  Reviewed by:	mckusick
=====

=====
nik         2001/04/10 03:36:44 PDT
  Add information about the new options to newfs and tunefs which set the
  expected average file size and number of files per directory.  Could do
  with some fleshing out.
=====

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:52:17 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3 lines
deprecate fs_fscktime; we never used it.

in an effort to maintain compatibility with freebsd/openbsd/whatever,
i'm attempting to get the superblock format in sync, and freebsd uses
the int32_t at this position for `fs_pendinginodes'.

if we ever decide to implement fscktime functionality, we'll:
a) make sure to liaise with the other projects to reserve the same
   spare field
b) actually implement the code this time ...

(this is also preparing us for other changes, like the new dirpref code)

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Sep 2 01:58:31 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -21 lines
Incorporate fix by iedowse @ FreeBSD to allow disks with large numbers of
cylinder groups to work correctly, with minor modifications by me to work
with our FFS_EI code.  From the FreeBSD commit message:

	The ffs superblock includes a 128-byte region for use by temporary
	in-core pointers to summary information. An array in this region
	(fs_csp) could overflow on filesystems with a very large number of
	cylinder groups (~16000 on i386 with 8k blocks). When this happens,
	other fields in the superblock get corrupted, and fsck refuses to
	check the filesystem.

	Solve this problem by replacing the fs_csp array in 'struct fs'
	with a single pointer, and add padding to keep the length of the
	128-byte region fixed. Update the kernel and userland utilities
	to use just this single pointer.

	With this change, the kernel no longer makes use of the superblock
	fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c
	to indicate that these fields must be calculated for compatibility
	with older kernels.

	Reviewed by:    mckusick

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Aug 31 03:15:45 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -10 lines
More fixes from FreeBSD (with changes):
- Cast blk argument to lblktosize() to (off_t), to prevent 32 bit overflow.
  whilst almost every use in ffs used this for small blknos, there are
  potential issues, and it's safer this way.  (as discussed with chuq)
- Use 64bit (off_t) math to calculate if we have hit our freespace() limit.
  Necessary for coherent results on filesystems bigger than 0.5Tb.
- Use lblktosize() in blksize() and dblksize(), to make it obvious what's
  happening
- Remove sblksize() - nothing uses it

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Aug 30 14:37:25 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
some improvements from freebsd/openbsd
- replace the unused fs_headswitch and fs_trkseek with fs_id[2], bringing
  our struct fs closer to that in freebsd & openbsd (& solaris FWIW)
- dumpfs: improve warning message when cpc == 0

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 30 08:31:25 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +58 -57 lines
- minor whitespace and comments cleanup
- replace "filesystem" with "file system"
- fix spelo (from freebsd)

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:20 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -4 lines
Catch up with -current.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:14:07 2001 UTC (23 years, 6 months ago) by lukem
Branches: kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -4 lines
update to -current

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jul 27 01:28:06 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -4 lines
- multiple include protection
- pull in <ufs/ufs/dinode.h> for ufs_daddr_t
- mark a few fields as being "UNUSED" (because they are)

Revision 1.11.14.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:06 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11.14.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.14.1: +5 -5 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Feb 23 02:25:10 2001 UTC (23 years, 11 months ago) by eeh
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, perseant-lfsv2-base, perseant-lfsv2
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
Use int32_t for on-disk time_t values.

Revision 1.11.14.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:47 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +18 -2 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.11.20.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:38 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.11.20.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.20.1: +18 -2 lines
Pull up to last week's -current.

Revision 1.11.20.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:20:07 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -1 lines
Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 15 18:49:14 1999 UTC (25 years, 3 months ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +18 -2 lines
Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O

Revision 1.11.16.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 12:50:39 1999 UTC (25 years, 4 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +18 -2 lines
Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jul 28 17:30:01 1998 UTC (26 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: 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, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -6 lines
The fragtbl[], inside[] and around[] variables are needed by "fsck",
so we can't put them inside "#ifdef _KERNEL".
Put declarations inside .c files where needed to preserve namespace.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 28 04:17:51 1998 UTC (26 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
Omit some externs if not _KERNEL.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Mar 18 15:57:28 1998 UTC (26 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +28 -20 lines
Add support for reading/writing FFS in non-native byte order, conditioned
to "options FFS_EI". The superblock and inodes (without blk addr) are
byteswapped at disk read/write time, other metadatas are byteswapped
when used (as they are acceeded directly in the buffer cache).
This required the addition of a "um_flags" field to struct ufsmount.
ffs_bswap.c contains superblock and inode byteswap routines also used
by userland utilities.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:23:15 1998 UTC (26 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -11 lines
Merge with Lite2 + local changes

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:14:03 1998 UTC (26 years, 11 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +151 -139 lines
Import 4.4BSD-Lite2

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:10:45 1998 UTC (26 years, 11 months ago) by fvdl
Branches: netbsd, CSRG
CVS tags: lite-1, date-03-may-96
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -2 lines
Import 4.4BSD-Lite for reference

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 11 10:09:48 1997 UTC (27 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, 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, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Add support for ext2fs, this needed a few modifications to ufs/ufs/inode.h:
- added an "union inode_ext" to struct inode, for the per-fs extentions.
  For now only ext2fs uses it.
- i_din is now an union:
	union {
		struct  dinode ffs_din; /* 128 bytes of the on-disk dinode. */
		struct ext2fs_dinode e2fs_din; /* 128 bytes of the on-disk dinode. */
	} i_din
  Added a lot of #define i_ffs_* and i_e2fs_* to access the fields.
- Added two macros: FFS_ITIMES and EXT2FS_ITIMES. ITIMES calls the rigth
  macro, depending on the time of the inode. ITIMES is used where necessary,
  FFS_ITIMES and EXT2FS_ITIMES in other places.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Apr 12 21:21:02 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +10 -2 lines
Make use of the `fs_clean' field.  If it was set when the file system was
mounted or upgraded to r-w, then clear it and set it again later when the
file system is unmounted or downgraded.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Dec 14 13:03:42 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -6 lines
Sync with CSRG.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 13 19:10:43 1994 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +155 -143 lines
Sync with CSRG.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 20 04:21:00 1994 UTC (30 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +140 -141 lines
update for new syscall args description mechanism, and deal safely
with wider types.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:46:40 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:42:13 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Update to 4.4-Lite fs code, with local changes.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>