The NetBSD Project

CVS log for src/sys/ufs/ufs/ufs_bmap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49.14.3 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:18 2013 UTC (20 months, 4 weeks ago) by tls
Branch: tls-maxphys
Changes since 1.49.14.2: +13 -13 lines
Diff to previous 1.49.14.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

resync with head

Revision 1.49.14.2 / (download) - annotate - [select for diffs], Sun Feb 10 16:26:34 2013 UTC (21 months, 1 week ago) by tls
Branch: tls-maxphys
Changes since 1.49.14.1: +3 -3 lines
Diff to previous 1.49.14.1 (colored) to branchpoint 1.49 (colored)


Add an accessor -- ufs_maxphys() -- to check the maximum transfer size
for a given UFS mountpoint, and move the code from mount that finds
the underlying disk and resets the mountpoint max transfer size into a
utility function, ufs_update_maxphys().

Add a global serial number that counts disk property changes to which
filesystems are meant to accomodate themselves.  Make ufs_maxphys()
check it.  This is a sort of flag-polling interface that avoids callbacks
into the filesystem code, but will require freezing filesystems and
draining in-flight transactions before a decrease in size that is
mandatory (like attaching a disk with a smaller maximum transfer size
as a spare in a RAIDframe set), rather than "advisory", like finding
out set geometry from a RAID controller long after boot and deciding
a smaller transfer size would be optimal, can be signalled.  Still, the
"advisory" case is the common one so this is progress.

Make a bit of an example of RAIDframe by making it bump this new
serial number when disks are added to the subsystem.  I will attack
one of the hardware RAID drivers (probably arcmsr) next.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:35 2013 UTC (22 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.49: +13 -13 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:18 2013 UTC (22 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.49: +13 -13 lines
Diff to previous 1.49 (colored)

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.49.14.1 / (download) - annotate - [select for diffs], Tue Oct 9 21:53:03 2012 UTC (2 years, 1 month ago) by bouyer
Branch: tls-maxphys
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored)

Use mnt_maxphys not MAXPHYS to limit the size of I/O to disk.
Now the read-ahead code does issue 512k requests to disk.

Revision 1.48.32.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:18 2011 UTC (3 years, 5 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.48: +10 -7 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.48.26.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:21 2011 UTC (3 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.48: +10 -7 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:39 2011 UTC (3 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, 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-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.48: +10 -7 lines
Diff to previous 1.48 (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.48.34.1 / (download) - annotate - [select for diffs], Fri Feb 18 19:54:44 2011 UTC (3 years, 9 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.48: +10 -7 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Add a new inode flag, SF_SNAPINVAL, to be set on SF_SNAPSHOT inodes when
the snapshot is invalid.
Set SF_SNAPSHOT | SF_SNAPINVAL early when initializing a snapshot indode,
so that quota are bypassed for allocations on this inode.
Set SF_SNAPSHOT | SF_SNAPINVAL (instead of clearing SF_SNAPSHOT) when
expuge()ing a snapshot inode, so that userland tools working on the
snapshot (e.g. fsck or dump) can properly handle this inode.

The main point at this time is to have fsck_ffs -X properly compute quotas;
as a bonus persistent snapshots files won't show up in a dump(8) from a
snapshot.

This may also help speeding up taking snapshots, by bypassing expuge()
for snapshot inodes completely (but this needs more thoughs).


Briefly discussed with hannken@ in private mail.

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:14 2008 UTC (6 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 27 19:06:52 2008 UTC (6 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-quota2-nbase, bouyer-quota2-base, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Make rusage collection per-LWP and collate in the appropriate places.
cloned threads need a little bit more work but the locking needs to
be fixed first.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:32 2008 UTC (6 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.46: +13 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.35.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:15 2008 UTC (6 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.4.4: +13 -5 lines
Diff to previous 1.35.4.4 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head

Revision 1.45.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:34 2008 UTC (6 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.45.8.1: +13 -5 lines
Diff to previous 1.45.8.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with HEAD

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:28 2008 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.46: +13 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:13 2008 UTC (6 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.46: +13 -5 lines
Diff to previous 1.46 (colored)

Merge vmlocking2 to head.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:53 2007 UTC (6 years, 11 months ago) by ad
Branch: vmlocking2
Changes since 1.46: +13 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:23 2007 UTC (7 years ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

sync with HEAD

Revision 1.35.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:50 2007 UTC (7 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.4.3: +5 -5 lines
Diff to previous 1.35.4.3 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:37 2007 UTC (7 years, 1 month ago) by joerg
Branch: jmcneill-pm
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

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

Revision 1.45.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:22 2007 UTC (7 years, 1 month ago) by yamt
Branch: yamt-x86pmap
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Oct 8 18:01:31 2007 UTC (7 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, bouyer-xeni386
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

Merge ffs locking & brelse changes from the vmlocking branch.

Revision 1.35.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:59 2007 UTC (7 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.4.2: +3 -4 lines
Diff to previous 1.35.4.2 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.44.4.4 / (download) - annotate - [select for diffs], Thu Aug 30 16:29:16 2007 UTC (7 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.44.4.3: +3 -3 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Reduce diffs to head.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Fri Aug 24 23:28:49 2007 UTC (7 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.44.4.2: +5 -8 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored)

Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:49 2007 UTC (7 years, 4 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with head.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:19 2007 UTC (7 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.44.4.1: +3 -4 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

Sync with head.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu May 17 13:42:00 2007 UTC (7 years, 6 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.42.2.1: +3 -4 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 17 07:26:22 2007 UTC (7 years, 6 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.44: +3 -4 lines
Diff to previous 1.44 (colored)

Fstrans_start() always returns zero, so change its type to void.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sun May 13 17:36:46 2007 UTC (7 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.44: +19 -8 lines
Diff to previous 1.44 (colored)

- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:23 2007 UTC (7 years, 8 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:23 2007 UTC (7 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.4.1: +13 -6 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Feb 22 06:10:49 2007 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

TRUE -> true, FALSE -> false

Revision 1.43 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:11 2007 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

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

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:51 2007 UTC (7 years, 9 months ago) by ad
Branch: newlock2
Changes since 1.40: +11 -4 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 29 15:42:50 2007 UTC (7 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Change fstrans enum types to upper case.
No functional change.

From Antti Kantee <pooka@netbsd.org>

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:13 2007 UTC (7 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.40: +11 -4 lines
Diff to previous 1.40 (colored)

New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 03:00:13 2006 UTC (8 years, 2 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (8 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35: +10 -31 lines
Diff to previous 1.35 (colored)

sync with head.

Revision 1.39.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:48 2006 UTC (8 years, 6 months ago) by tron
Branch: peter-altq
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

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

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:27 2006 UTC (8 years, 7 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.39.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:54:14 2006 UTC (8 years, 7 months ago) by elad
Branch: elad-kernelauth
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:59 2006 UTC (8 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 4 17:12:57 2006 UTC (8 years, 7 months ago) by pavel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Correct typo in a panic message.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:28 2005 UTC (8 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

merge ktrace-lwp.

Revision 1.23.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:39 2005 UTC (9 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.6: +9 -30 lines
Diff to previous 1.23.2.6 (colored) next main 1.24 (colored)

Sync with HEAD. Here we go again...

Revision 1.38 / (download) - annotate - [select for diffs], Sat Oct 8 03:21:17 2005 UTC (9 years, 1 month ago) by chs
Branch: 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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored)

avoid the need for a bogus initializer.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Aug 12 22:31:51 2005 UTC (9 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Drop extra word from comment.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 10 00:18:52 2005 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +7 -24 lines
Diff to previous 1.35 (colored)

- Use ANSI function decls.
- Sprinkle some static.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:39 2005 UTC (9 years, 6 months ago) by kent
Branch: kent-audio2
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with -current

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Wed Apr 6 11:38:21 2005 UTC (9 years, 7 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.28.2.2: +19 -21 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Apply patch (requested by mycroft in ticket #1035):
Fix a silent truncation problem that could cause corruption with large
FFSv1 file systems.

Revision 1.28.2.2.2.1 / (download) - annotate - [select for diffs], Wed Apr 6 11:37:44 2005 UTC (9 years, 7 months ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.28.2.2: +19 -21 lines
Diff to previous 1.28.2.2 (colored) next main 1.28.2.3 (colored)

Apply patch (requested by mycroft in ticket #1035):
Fix a silent truncation problem that could cause corruption with large
FFSv1 file systems.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:06 2005 UTC (9 years, 8 months ago) by yamt
Branch: yamt-km
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.23.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:55:00 2005 UTC (9 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.5: +5 -5 lines
Diff to previous 1.23.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.35 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (9 years, 8 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored)

nuke trailing whitespace

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:33:18 2004 UTC (9 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.4: +10 -13 lines
Diff to previous 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 15 07:11:51 2004 UTC (9 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.33: +10 -13 lines
Diff to previous 1.33 (colored)

Remove some unnecessary (int32_t) casts that would cause us to screw up the
top bit in block addresses.

Also, change some daddr_t->int32_t casts (mostly as arguments to ufs_rw32(),
where they would get promoted anyway) to u_int32_t.

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:22 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.3: +2 -2 lines
Diff to previous 1.23.2.3 (colored)

Fix the sync with head I botched.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 19:25:53 2004 UTC (10 years, 2 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.28.2.1: +3 -4 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

Pull up revision 1.33 (reqyested by yamt in ticket #859):
  Fix an integer overflow when calculating lbns of indirect
  blocks, and remove a redundant calculation of blockcnt.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:59 2004 UTC (10 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.2: +3 -4 lines
Diff to previous 1.23.2.2 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Sep 15 09:52:49 2004 UTC (10 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.32: +3 -4 lines
Diff to previous 1.32 (colored)

ufs_getlbns:
- fix an integer overflow when calculating lbns of indirect blocks.
- remove a redundant calculation of blockcnt.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:59:14 2004 UTC (10 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.1: +21 -21 lines
Diff to previous 1.23.2.1 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Aug 15 21:34:14 2004 UTC (10 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +20 -20 lines
Diff to previous 1.31 (colored)

Repair some FFS_EI code for ufsmount changes.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:58 2004 UTC (10 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
  d_type fields(!), add a new internal flag, IMNT_DTYPE.

Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
  in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
  FS-specific checks littered throughout the code.  This may be used later to
  make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
  to implementation issues.

Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86

Clean up some crappy pointer frobnication.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:57:00 2004 UTC (10 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23: +59 -25 lines
Diff to previous 1.23 (colored)

Sync with HEAD

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Jul 28 11:29:42 2004 UTC (10 years, 3 months ago) by tron
Branch: netbsd-2-0
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Pull up revision 1.30 via patch (requested by dbj in ticket #722):
remove incorrect casts that limit some uses of daddr_t to 31 bits
this fixes problems using ffs2 with more than 2^31 sectors (~1tb)

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jul 24 15:02:32 2004 UTC (10 years, 4 months ago) by dbj
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

remove incorrect casts that limit some uses of daddr_t to 31 bits
this fixes problems using ffs2 with more than 2^31 sectors (~1tb)

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 25 14:55:46 2004 UTC (10 years, 6 months ago) by hannken
Branch: MAIN
Changes since 1.28: +46 -13 lines
Diff to previous 1.28 (colored)

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.28 / (download) - annotate - [select for diffs], Fri Feb 27 00:19:36 2004 UTC (10 years, 8 months ago) by uwe
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Shut up gcc3 warning that `metalbn' might be used uninitialized.
XXX: The warning is bogus and only triggered on sh3.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 25 18:06:49 2004 UTC (10 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 10 14:39:51 2004 UTC (10 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

store a i/o priority hint in struct buf for buffer queue discipline.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Tue Aug 26 06:46:51 2003 UTC (11 years, 3 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up revision 1.22 (requested by tls in ticket #1434):
Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:44 2003 UTC (11 years, 3 months ago) by agc
Branch: MAIN
Changes since 1.24: +3 -7 lines
Diff to previous 1.24 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

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

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 23 13:36:17 2003 UTC (11 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.23: +11 -8 lines
Diff to previous 1.23 (colored)

cast UFS1 on-disk block pointers to int32_t before assign it to daddr_t.
it's needed for LFS because UNWRITTEN is a negative number.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 18 12:59:06 2003 UTC (11 years, 6 months ago) by yamt
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.22: +25 -7 lines
Diff to previous 1.22 (colored)

make is_sequential a callback in order to achieve better lfs write clustering.

since lfs always rewrite blocks into the new segment,
current on-disk place of the block doesn't affect to write clustering.

ok'ed by Konrad Schroder.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 23 00:55:21 2003 UTC (11 years, 7 months ago) by tls
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Correct use of MAXBSIZE where MAXPHYS was intended.  This is a necessary
first step towards per-device MAXPHYS, and has the beneficial side effect
of allowing clustering to MAXPHYS even on systems that need to run with
a reduced MAXBSIZE to get more metadata buffers.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:44 2003 UTC (11 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.20: +62 -28 lines
Diff to previous 1.20 (colored)

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.20 / (download) - annotate - [select for diffs], Fri Mar 21 15:46:32 2003 UTC (11 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

LFS likes to store negative values in the dinode block pointers, so
make sure to cast the value back to int32_t after it was changed
by ufs_rw32, before passing it to blkptrtodb.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 9 03:26:59 2003 UTC (11 years, 9 months ago) by perseant
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Allow negative values other than UNASSIGNED to be returned from ufs_bmap;
fixes a bug introduced in the 64-bit daddr_t conversion, that manifests
itself in LFS with kernels compiled with the FFS_EI option.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:30 2003 UTC (11 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +15 -13 lines
Diff to previous 1.17 (colored)

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.10.2.5 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:42 2002 UTC (12 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.10.2.4: +2 -3 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Jun 24 22:12:43 2002 UTC (12 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.3: +3 -3 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:14 2002 UTC (12 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.6.1: +10 -3 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

catch up with -current on kqueue branch

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:36 2002 UTC (12 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.2: +10 -3 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 11 12:23:53 2002 UTC (12 years, 6 months ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base
Branch point for: netbsd-1-6
Changes since 1.16: +10 -3 lines
Diff to previous 1.16 (colored)

Add comment that getblk() in ufs_bmaparray() returns an error only if
we are pagedaemon.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:22 2002 UTC (12 years, 10 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +16 -17 lines
Diff to previous 1.10 (colored)

Sync kqueue branch with -current.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:19:02 2001 UTC (13 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.1: +16 -17 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 13 06:23:17 2001 UTC (13 years ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

some callers of ufs_bmaparray() in LFS depend on *nump being set to 0 for
direct blocks, so restore that behaviour.

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:50 2001 UTC (13 years ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.10: +14 -17 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Nov 10 07:11:00 2001 UTC (13 years ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

fix the previous change:  use the correct test for a block number
referring to a direct block.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 8 05:00:51 2001 UTC (13 years ago) by chs
Branch: MAIN
Changes since 1.13: +12 -15 lines
Diff to previous 1.13 (colored)

only call ufs_getlbns() for blocks which involve indirects, and assert
that this is so.  use a shift instead of a multiply in one place.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:15 2001 UTC (13 years ago) by lukem
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add RCSID

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 6 07:11:30 2001 UTC (13 years ago) by simonb
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Remove some variables that are set but never used.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:10 2001 UTC (13 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

remove #include <ufs/ufs/quota.h> where it was just to appease
<ufs/ufs/inode.h>, since the latter now includes the former.  leave the former
in source that obviously uses specific bits of it (for completeness.)

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:50:09 2001 UTC (13 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.8.14.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:20:16 2000 UTC (13 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.8.14.1: +15 -5 lines
Diff to previous 1.8.14.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:57 2000 UTC (13 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, perseant-lfsv2-base, perseant-lfsv2
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.9: +15 -5 lines
Diff to previous 1.9 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:54 2000 UTC (14 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 30 12:41:14 2000 UTC (14 years, 7 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Remove register declarations.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 13 16:26:22 1998 UTC (16 years, 5 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
Changes since 1.7: +13 -11 lines
Diff to previous 1.7 (colored)

KNF, mostly of FFS_EI changes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 18 15:57:28 1998 UTC (16 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.6: +16 -8 lines
Diff to previous 1.6 (colored)

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.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:56:14 1998 UTC (16 years, 8 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: post-lite-2
Changes since 1.1.1.2: +2 -2 lines
Diff to previous 1.1.1.2 (colored)

Import some files that were changed after Lite2

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:36 1998 UTC (16 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +10 -10 lines
Diff to previous 1.5 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:14:08 1998 UTC (16 years, 8 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +11 -10 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:10:50 1998 UTC (16 years, 8 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 17 23:40:07 1997 UTC (17 years, 4 months ago) by fvdl
Branch: 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
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

When allocating a new block, store the result obtained through counting
indirect blocks in a 64 bit integer, to prevent overflows when computing
NINDIR^3

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 11 10:10:10 1997 UTC (17 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

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.3 / (download) - annotate - [select for diffs], Fri Feb 9 22:36:00 1996 UTC (18 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.2: +11 -9 lines
Diff to previous 1.2 (colored)

ufs prototype changes

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:47:24 1994 UTC (20 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, 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
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:43:12 1994 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN

Update to 4.4-Lite fs code, with local changes.

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




CVSweb <webmaster@jp.NetBSD.org>