Up to [cvs.netbsd.org] / src / sys / ufs / lfs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:54 2011 UTC (10 months, 1 week ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
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-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.38: +2 -4
lines
Diff to previous 1.38 (colored)
Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
Revision 1.36.10.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:34 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.36.10.1: +7 -4
lines
Diff to previous 1.36.10.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)
sync with head.
Revision 1.37.14.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:33:03 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.37: +7 -4
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Sync with HEAD.
Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 19 04:16:23 2009 UTC (2 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
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,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.37: +7 -4
lines
Diff to previous 1.37 (colored)
minor knf
Revision 1.36.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.36: +2 -9
lines
Diff to previous 1.36 (colored) next main 1.37 (colored)
Sync with HEAD.
Revision 1.36.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:55 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.36: +2 -9
lines
Diff to previous 1.36 (colored) next main 1.37 (colored)
sync with head.
Revision 1.36.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:26:00 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.36: +2 -9
lines
Diff to previous 1.36 (colored)
sync with head.
Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:11 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
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-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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,
jym-xensuspend-base,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.36: +2 -9
lines
Diff to previous 1.36 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.34.12.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:28 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.34: +6 -3
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
Sync with HEAD.
Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:48:11 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.2: +5 -4
lines
Diff to previous 1.31.2.2 (colored) next main 1.32 (colored)
sync with head
Revision 1.34.6.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:29 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.34: +5 -4
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
sync with HEAD
Revision 1.34.18.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:23 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.34.18.1: +1 -1
lines
Diff to previous 1.34.18.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)
Sync with HEAD
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:10 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
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: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Changes since 1.35: +3 -3
lines
Diff to previous 1.35 (colored)
Merge vmlocking2 to head.
Revision 1.34.14.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:40:01 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.34.14.1: +4 -3
lines
Diff to previous 1.34.14.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)
Sync with head.
Revision 1.34.18.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:57:02 2007 UTC (4 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.34: +4 -3
lines
Diff to previous 1.34 (colored)
Sync with HEAD
Revision 1.34.16.1 / (download) - annotate - [select for diffs], Thu Dec 13 05:06:03 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.34: +4 -3
lines
Diff to previous 1.34 (colored) next main 1.35 (colored)
sync with head.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 12 03:49:03 2007 UTC (4 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-kmem-base3,
vmlocking2-base3
Changes since 1.34: +4 -3
lines
Diff to previous 1.34 (colored)
Move __KERNEL_RCSID() so that it's always available if this file is compiled, even if DEBUG isn't defined. (This matches the behaviour of various other source files that provide functions only if DEBUG is enabled.)
Revision 1.34.14.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:49 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.34: +3 -3
lines
Diff to previous 1.34 (colored)
Pull the vmlocking changes into a new branch.
Revision 1.31.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:53 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.1: +3 -2
lines
Diff to previous 1.31.2.1 (colored)
sync with head.
Revision 1.33.30.4 / (download) - annotate - [select for diffs], Tue Aug 28 13:46:04 2007 UTC (4 years, 8 months ago) by yamt
Branch: vmlocking
Changes since 1.33.30.3: +3 -3
lines
Diff to previous 1.33.30.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)
make this compile with DEBUG.
Revision 1.33.30.3 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:26 2007 UTC (4 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.33.30.2: +3 -2
lines
Diff to previous 1.33.30.2 (colored) to branchpoint 1.33 (colored)
Sync with HEAD.
Revision 1.33.40.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:51:12 2007 UTC (4 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.33: +3 -2
lines
Diff to previous 1.33 (colored) next main 1.34 (colored)
Sync with HEAD.
Revision 1.34.22.2 / (download) - annotate - [select for diffs], Sun Jul 22 03:41:00 2007 UTC (4 years, 10 months ago) by christos
Branch: matt-mips64
Changes since 1.34.22.1: +330 -0
lines
Diff to previous 1.34.22.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)
make this compile again
Revision 1.34.22.1, Sun Jul 22 03:40:59 2007 UTC (4 years, 10 months ago) by christos
Branch: matt-mips64
Changes since 1.34: +0 -330
lines
FILE REMOVED
file lfs_debug.c was added on branch matt-mips64 on 2007-07-22 03:41:00 +0000
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 22 03:40:59 2007 UTC (4 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base2,
yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs,
matt-mips64,
matt-armv6,
bouyer-xeni386
Changes since 1.33: +3 -2
lines
Diff to previous 1.33 (colored)
make this compile again
Revision 1.33.30.2 / (download) - annotate - [select for diffs], Sun Jul 15 15:53:06 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.33.30.1: +2 -4
lines
Diff to previous 1.33.30.1 (colored) to branchpoint 1.33 (colored)
Sync with head.
Revision 1.33.30.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:54 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.33: +4 -2
lines
Diff to previous 1.33 (colored)
Compile fixes.
Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31: +6 -4
lines
Diff to previous 1.31 (colored)
sync with head.
Revision 1.27.2.3 / (download) - annotate - [select for diffs], Sat May 20 21:55:43 2006 UTC (6 years ago) by riz
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1
Changes since 1.27.2.2: +6 -4
lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)
Pull up following revision(s) (requested by perseant in ticket #1327): sys/ufs/lfs/lfs_vnops.c: revision 1.153 sys/ufs/lfs/lfs_debug.c: revision 1.32 sys/ufs/lfs/lfs_alloc.c: revision 1.84 sys/ufs/lfs/lfs_vfsops.c: revision 1.185 sys/ufs/lfs/lfs_segment.c: revision 1.165 64 bit inode changes.
Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat May 20 21:50:26 2006 UTC (6 years ago) by riz
Branch: netbsd-3
Changes since 1.27.2.1: +4 -4
lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)
Pull up following revision(s) (requested by perseant in ticket #1327): sys/ufs/lfs/lfs_vnops.c: revision 1.152 sys/ufs/lfs/lfs_debug.c: revision 1.31 sys/ufs/lfs/lfs_subr.c: revision 1.53 sys/ufs/lfs/lfs_extern.h: revision 1.68 sys/ufs/lfs/lfs_inode.c: revision 1.96 sys/ufs/lfs/lfs_bio.c: revision 1.86 sys/ufs/lfs/lfs_alloc.c: revision 1.83 sys/ufs/lfs/lfs_vfsops.c: revision 1.181 sys/ufs/lfs/lfs.h: revision 1.88 sys/ufs/lfs/lfs_segment.c: revision 1.164 - sprinkle const - avoid shadow variables.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:26 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: 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-base,
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,
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: vmlocking,
nick-csl-alignment
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
merge ktrace-lwp.
Revision 1.22.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:32 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.6: +24 -10
lines
Diff to previous 1.22.2.6 (colored) next main 1.23 (colored)
Sync with HEAD. Here we go again...
Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:09 2005 UTC (6 years, 9 months ago) by christos
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.31: +6 -4
lines
Diff to previous 1.31 (colored)
64 bit inode changes.
Revision 1.31 / (download) - annotate - [select for diffs], Sun May 29 21:25:24 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.30: +4 -4
lines
Diff to previous 1.30 (colored)
- sprinkle const - avoid shadow variables.
Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sat May 7 11:21:30 2005 UTC (7 years ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.27: +20 -26
lines
Diff to previous 1.27 (colored)
Apply patch (requested by perseant in ticket #242): * fsck_lfs buffer cache fixes, including PR #29151 * Change fsck_lfs phase 0 message to reflect reality * fsck_lfs: check phase 5 (cleanerinfo accounting) even on roll-forward * Keep better track of the free list during roll-forward, avoiding a core dump * Improve hash table use for fsck_lfs buffer and vnode cache * Document fsck_lfs flag -f, and implement -q * Add resize_lfs, including kernel support * Add LFS to mountd's list of exportable filesystem types * Make the LFS lkm work again [christos@] * Add MP locking to the LFS kernel subsystem * Fix pager_map deadlock in lfs_putpages() * Avoid incomplete file extension that looks like "partial truncation" to fsck * Use lfs_malloc for cleaner malloc, since the cleaner often runs in low-memory conditions. * Use splay trees, not hash table, to track page allocation for write. * Fix mkdir panic on full fs * Fix page accounting leak by counting differently. * Use rightly named structure for lfs_getattr [skrll@] * Cosmetic changes for readability.
Revision 1.24.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:39 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.24: +60 -25
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
sync with -current
Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 1 21:59:46 2005 UTC (7 years, 1 month ago) by perseant
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.29: +19 -7
lines
Diff to previous 1.29 (colored)
Protect various per-fs structures with fs->lfs_interlock simple_lock, to improve behavior in the multiprocessor case. Add debugging segment-lock assertion statements.
Revision 1.22.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:32:11 2005 UTC (7 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.5: +3 -21
lines
Diff to previous 1.22.2.5 (colored)
Sync with HEAD.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 26 19:40:31 2005 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
make this compile again :-(
Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 26 19:39:08 2005 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.27: +4 -22
lines
Diff to previous 1.27 (colored)
Use vlog(9). Open-coding vlog here breaks lkm's because including <sys/kprintf.h> includes opt_multiprocessor.h. One could argue that the lock stuff should just move to subr_prf.c since nothing else uses it.
Revision 1.24.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:37:03 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.24: +61 -20
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.22.2.5 / (download) - annotate - [select for diffs], Tue Mar 8 13:53:12 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.4: +43 -2
lines
Diff to previous 1.22.2.4 (colored)
Sync with HEAD.
Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 8 04:49:35 2005 UTC (7 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Changes since 1.26: +16 -16
lines
Diff to previous 1.26 (colored)
Tab Police.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 8 00:18:19 2005 UTC (7 years, 2 months ago) by perseant
Branch: MAIN
Changes since 1.25: +43 -2
lines
Diff to previous 1.25 (colored)
Straighten out the maze of ifdefs. Instead, consolidate all the debugging stuff under '#ifdef DEBUG', and use sysctl knobs to turn on/off particular parts of the debugging reporting (if DEBUG is enabled). Re-enable the LFS statistics in sysctl, while I'm there. A bit of a rototill.
Revision 1.22.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:48 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.3: +20 -20
lines
Diff to previous 1.22.2.3 (colored)
Sync with HEAD. Hi Perry!
Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 26 22:32:20 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.24: +20 -20
lines
Diff to previous 1.24 (colored)
nuke trailing whitespace
Revision 1.22.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:39:15 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.2: +2 -2
lines
Diff to previous 1.22.2.2 (colored)
Fix the sync with head I botched.
Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:59 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22.2.1: +0 -0
lines
Diff to previous 1.22.2.1 (colored)
Sync with HEAD.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:57 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.22: +5 -9
lines
Diff to previous 1.22 (colored)
Sync with HEAD
Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 30 01:43:10 2003 UTC (8 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
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,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored)
Remove some assigned-to but otherwise unused variables.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:35 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.22: +3 -7
lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:40 2003 UTC (9 years, 1 month ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Thu Feb 20 04:27:24 2003 UTC (9 years, 3 months ago) by perseant
Branch: MAIN
Changes since 1.20: +8 -8
lines
Diff to previous 1.20 (colored)
Tabify, and fix some comment alignment problems.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 17 23:48:18 2003 UTC (9 years, 3 months ago) by perseant
Branch: MAIN
Changes since 1.19: +4 -4
lines
Diff to previous 1.19 (colored)
Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now (there are still some details to work out) but expect that to go away soon. To support these basic changes (creation of lfs_putpages, lfs_gop_write, mods to lfs_balloc) several other changes were made, to wit: * Create a writer daemon kernel thread whose purpose is to handle page writes for the pagedaemon, but which also takes over some of the functions of lfs_check(). This thread is started the first time an LFS is mounted. * Add a "flags" parameter to GOP_SIZE. Current values are GOP_SIZE_READ, meaning that the call should return the size of the in-core version of the file, and GOP_SIZE_WRITE, meaning that it should return the on-disk size. One of GOP_SIZE_READ or GOP_SIZE_WRITE must be specified. * Instead of using malloc(...M_WAITOK) for everything, reserve enough resources to get by and use malloc(...M_NOWAIT), using the reserves if necessary. Use the pool subsystem for structures small enough that this is feasible. This also obsoletes LFS_THROTTLE. And a few that are not strictly necessary: * Moves the LFS inode extensions off onto a separately allocated structure; getting closer to LFS as an LKM. "Welcome to 1.6O." * Unified GOP_ALLOC between FFS and LFS. * Update LFS copyright headers to correct values. * Actually cast to unsigned in lfs_shellsort, like the comment says. * Keep track of which segments were empty before the previous checkpoint; any segments that pass two checkpoints both dirty and empty can be summarily cleaned. Do this. Right now lfs_segclean still works, but this should be turned into an effectless compatibility syscall.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 29 13:14:34 2003 UTC (9 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.18: +5 -5
lines
Diff to previous 1.18 (colored)
don't use daddr_t for segment summary since it's an on-disk structure.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 25 23:00:09 2003 UTC (9 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.17: +8 -7
lines
Diff to previous 1.17 (colored)
Fix further printf format warnings for DEBUG, in the wake of daddr_t having changed.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:27 2003 UTC (9 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.16: +5 -5
lines
Diff to previous 1.16 (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.11.6.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:11 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.11.6.2: +32 -3
lines
Diff to previous 1.11.6.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
catch up with -current on kqueue branch
Revision 1.11.2.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:50:29 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.2.3: +32 -3
lines
Diff to previous 1.11.2.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
Catch up to -current.
Revision 1.16 / (download) - annotate - [select for diffs], Tue May 14 20:03:53 2002 UTC (10 years ago) by perseant
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
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
Changes since 1.15: +32 -3
lines
Diff to previous 1.15 (colored)
Phase one of my three-phase plan to make LFS play nice with UBC, and bug-fixes I found while making sure there weren't any new ones. * Make the write clusters keep track of the buffers whose blocks they contain. This should make it possible to (1) write clusters using a page mapping instead of malloc, if desired, and (2) schedule blocks for rewriting (somewhere else) if a write error occurs. Code is present to use pagemove() to construct the clusters but that is untested and will go away anyway in favor of page mapping. * DEBUG now keeps a log of Ifile writes, so that any lingering instances of the "dirty bufs" problem can be properly debugged. * Keep track of whether the Ifile has been dirtied by various routines that can be called by lfs_segwrite, and loop on that until it is clean, for a checkpoint. Checkpoints need to be squeaky clean. * Warn the user (once) if the Ifile grows larger than is reasonable for their buffer cache. Both lfs_mountfs and lfs_unmount check since the Ifile can grow. * If an inode is not found in a disk block, try rereading the block, under the assumption that the block was copied to a cluster and then freed. * Protect WRITEINPROG() with splbio() to fix a hang in lfs_update.
Revision 1.11.6.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:05:11 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.11.6.1: +14 -11
lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored)
Sync kqueue branch with -current.
Revision 1.11.2.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:52 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.2: +11 -11
lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored)
Catch up to -current.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 23 21:44:27 2001 UTC (10 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: newlock-base,
newlock,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Changes since 1.14: +11 -11
lines
Diff to previous 1.14 (colored)
add spaces for KNF. confirmed to produce identical objects.
Revision 1.11.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:58 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.1: +5 -2
lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)
Catch up to -current.
Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:47 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.12: +5 -2
lines
Diff to previous 1.12 (colored) next main 1.13 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 8 02:39:10 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.13: +5 -1
lines
Diff to previous 1.13 (colored)
add RCSID
Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 26 05:56:09 2001 UTC (10 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.12: +1 -2
lines
Diff to previous 1.12 (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.11.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:13:25 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +11 -17
lines
Diff to previous 1.11 (colored)
Catch up with -current.
Revision 1.11.6.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:14:08 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.11: +11 -17
lines
Diff to previous 1.11 (colored)
update to -current
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 13 20:30:23 2001 UTC (10 years, 10 months ago) by perseant
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.11: +11 -17
lines
Diff to previous 1.11 (colored)
Merge the short-lived perseant-lfsv2 branch into the trunk. Kernels and tools understand both v1 and v2 filesystems; newfs_lfs generates v2 by default. Changes for the v2 layout include: - Segments of non-PO2 size and arbitrary block offset, so these can be matched to convenient physical characteristics of the partition (e.g., stripe or track size and offset). - Address by fragment instead of by disk sector, paving the way for non-512-byte-sector devices. In theory fragments can be as large as you like, though in reality they must be smaller than MAXBSIZE in size. - Use serial number and filesystem identifier to ensure that roll-forward doesn't get old data and think it's new. Roll-forward is enabled for v2 filesystems, though not for v1 filesystems by default. - The inode free list is now a tailq, paving the way for undelete (undelete is not yet implemented, but can be without further non-backwards-compatible changes to disk structures). - Inode atime information is kept in the Ifile, instead of on the inode; that is, the inode is never written *just* because atime was changed. Because of this the inodes remain near the file data on the disk, rather than wandering all over as the disk is read repeatedly. This speeds up repeated reads by a small but noticeable amount. Other changes of note include: - The ifile written by newfs_lfs can now be of arbitrary length, it is no longer restricted to a single indirect block. - Fixed an old bug where ctime was changed every time a vnode was created. I need to look more closely to make sure that the times are only updated during write(2) and friends, not after-the-fact during a segment write, and certainly not by the cleaner.
Revision 1.11.4.3 / (download) - annotate - [select for diffs], Mon Jul 2 17:48:19 2001 UTC (10 years, 10 months ago) by perseant
Branch: perseant-lfsv2
Changes since 1.11.4.2: +2 -2
lines
Diff to previous 1.11.4.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)
Change disk addressing unit to be the fragment, instead of the disk sector. All quantities in the superblock, inodes, indirect blocks, etc. refer now to this abstract unit (called "fsb" as it is in FFS) instead of disk sectors; as a consequence segment summary blocks have to be multiples of a fragment in size. In v1 filesystems, compatibility code ensures that 1 fsb == 1 sector, regardless of fragment size. Fragments can now range in size between 512 and 32k; in the event that LFS_LABELPAD (8k) is smaller than the disk address unit size, an extra proto-superblock is kept at 8k from the beginning of the disk, to be used *only* to locate the real superblocks. (Not all of the userland knows about this yet.) Almost all of this was done not by me, but by joff.
Revision 1.11.4.2 / (download) - annotate - [select for diffs], Fri Jun 29 03:56:40 2001 UTC (10 years, 10 months ago) by perseant
Branch: perseant-lfsv2
Changes since 1.11.4.1: +4 -10
lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored)
Get rid of __P(), protoizing where it had not already been done
Revision 1.11.4.1 / (download) - annotate - [select for diffs], Wed Jun 27 03:49:39 2001 UTC (10 years, 11 months ago) by perseant
Branch: perseant-lfsv2
Changes since 1.11: +7 -7
lines
Diff to previous 1.11 (colored)
Import of what I've been calling "LFSv2", that is, LFS with some features added that require changes to the on-disk data structures. These include: - 64-bit time in everything but inodes - User-specified segment offset, and segment size no longer restricted to PO2. - Serial number on segment summaries in addition to timestamp, and a new volume identifier, to make roll-forward feasible without fear of finding old data and thinking it was new. Although I think this version works at least as well as what's on the trunk, we're not done yet; hence this commit is going in on a branch and not on the trunk. Enhancements that are not here yet include fragment addressing, like FFS does, instead of block addressing.
Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:49 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.9: +10 -9
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
Update thorpej_scsipi to -current as of a month ago
Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu Sep 14 18:50:18 2000 UTC (11 years, 8 months ago) by perseant
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Pull up recent LFS kernel changes (approved by thorpej):
ufs/ufs/inode.h, 1.20--1.22 (add i_lfs_effnblks extension ;
make ITIMES aware of LFS_ITIMES;
_LKM protection so userland progs
compile)
ufs/ufs/ufs_vnops.c, 1.69, 1.71 (remove IN_ADIROP;
use ITIMES instead of FFS_ITIMES)
ufs/ufs/ufs_readwrite.c, 1.27 (use lfs_reserve in lfs_write)
ufs/lfs/lfs.h, 1.26--1.32 (define LFS_EST_* macros ;
change MIN_FREE_SEGS to lfs_minfreesegs ;
add avail and bfree to CLEANERINFO ;
change lfs_uinodes to signed ;
change lfs_dmeta to signed ;
add whitespace to line up structure
members ;
explicit cast to int32_t in LFS_EST_*
macros)
ufs/lfs/lfs_alloc.c, back out 1.34.2.3 (pullups of 1.39, 1.40);
then pull up 1.38 (clean up on error)
1.39--1.43 (restore fvdl's ufs_hashlock fix ;
restore fvdl's ufs_hashlock fix ;
set i_lfs_effnblks ;
use UINO macros ;
add comments and fix long lines)
ufs/lfs/lfs_balloc.c, 1.19 (don't succeed halfway)
1.21--1.25 (use i_lfs_effnblks ;
fix i_lfs_effnblks computation and
quieten ;
fix i_ffs_blocks in unwritten fragment ;
remove useless debugging check ;
add comments and (c) 2000)
ufs/lfs/lfs_bio.c, 1.24--1.30 (cleanup and make lfs_flush_fs take
"struct lfs *" instead of "struct
mount *" ;
use lfs_minfreeseg instead of
MIN_FREE_SEGS ;
use UINO macros, and copy bfree/avail
to CLEANERINFO ;
add lfs_reserve function ;
1.28--1.30 fix printf formatting)
ufs/lfs/lfs_cksum.c, 1.13 (add (c) 2000)
ufs/lfs/lfs_debug.c, 1.11 (use btodb instead of DEV_BSIZE)
ufs/lfs/lfs_extern.h, 1.18, 1.20--1.21 (function prototype changes)
ufs/lfs/lfs_inode.c, 1.38 (rewrite lfs_truncate from
ffs_truncate)
1.40--1.44 (count written and unwritten blocks
seperately ;
use disk block units instead of bytes ;
remove unnecessary "mod" variable ;
correct B_DELWRI to avoid bawrite panic ;
use lfs_reserve)
ufs/lfs/lfs_segment.c, 1.52-1.59 (use lfs_dmeta to note used summaries ;
check for UNWRITTEN in indirect blocks ;
more debugging stuff inside #ifdef
DEBUG_LFS ;
use LK_CANRECURSE ;
don't drop dirty indirect blocks ;
use UINO macros ;
don't hose the free list ;
use btodb() instead of DEV_BSIZE ;
make it compile again (oops))
ufs/lfs/lfs_subr.c, 1.16--1.17 (check for locked inodes before
changing ;
use btodb() instead of DEV_BSIZE, (c)
2000)
ufs/lfs/lfs_syscalls.c, back out 1.41.4.2 (fvdl's ufs_hashlock fix);
then pull up 1.43 (use lfs_dmeta)
1.44--1.45 (restore fvdl's ufs_hashlock fix)
1.46--1.47 (fix lfs_avail leakage from sblock
segments ;
use UINO macros)
1.49 (bounds-check inode numbers in
lfs_markv)
ufs/lfs/lfs_vfsops.c, 1.53 (use LFS_EST_* macros in lfs_statfs)
1.56--1.58 (initialize lfs_minfreeseg, lfs_effnblk ;
initialize lfs_uinodes ;
initialize lfs_ravail)
ufs/lfs/lfs_vnops.c, 1.40 (remove VDIROP from removed files)
1.42--1.44 (move SET_ENDOP below the removal of
VDIROP ;
use UINO macros and add lfs_itimes
function ;
use lfs_reserve in dirops)
Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 9 04:49:54 2000 UTC (11 years, 8 months ago) by perseant
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
perseant-lfsv2-base
Branch point for: perseant-lfsv2,
nathanw_sa,
kqueue
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Various bug-fixes to LFS, to wit: Kernel: * Add runtime quantity lfs_ravail, the number of disk-blocks reserved for writing. Writes to the filesystem first reserve a maximum amount of blocks before their write is allowed to proceed; after the blocks are allocated the reserved total is reduced by a corresponding amount. If the lfs_reserve function cannot immediately reserve the requested number of blocks, the inode is unlocked, and the thread sleeps until the cleaner has made enough space available for the blocks to be reserved. In this way large files can be written to the filesystem (or, smaller files can be written to a nearly-full but thoroughly clean filesystem) and the cleaner can still function properly. * Remove explicit switching on dlfs_minfreeseg from the kernel code; it is now merely a fs-creation parameter used to compute dlfs_avail and dlfs_bfree (and used by fsck_lfs(8) to check their accuracy). Its former role is better assumed by a properly computed dlfs_avail. * Bounds-check inode numbers submitted through lfs_bmapv and lfs_markv. This prevents a panic, but, if the cleaner is feeding the filesystem the wrong data, you are still in a world of hurt. * Cleanup: remove explicit references of DEV_BSIZE in favor of btodb()/dbtob(). lfs_cleanerd: * Make -n mean "send N segments' blocks through a single call to lfs_markv". Previously it had meant "clean N segments though N calls to lfs_markv, before looking again to see if more need to be cleaned". The new behavior gives better packing of direct data on disk with as little metadata as possible, largely alleviating the problem that the cleaner can consume more disk through inefficient use of metadata than it frees by moving dirty data away from clean "holes" to produce entirely clean segments. * Make -b mean "read as many segments as necessary to write N segments of dirty data back to disk", rather than its former meaning of "read as many segments as necessary to free N segments worth of space". The new meaning, combined with the new -n behavior described above, further aids in cleaning storage efficiency as entire segments can be written at once, using as few blocks as possible for segment summaries and inode blocks. * Make the cleaner take note of segments which could not be cleaned due to error, and not attempt to clean them until they are entirely free of dirty blocks. This prevents the case in which a cleanerd running with -n 1 and without -b (formerly the default) would spin trying repeatedly to clean a corrupt segment, while the remaining space filled and deadlocked the filesystem. * Update the lfs_cleanerd manual page to describe all the options, including the changes mentioned here (in particular, the -b and -n flags were previously undocumented). fsck_lfs: * Check, and optionally fix, lfs_avail (to an exact figure) and lfs_bfree (within a margin of error) in pass 5. newfs_lfs: * Reduce the default dlfs_minfreeseg to 1/20 of the total segments. * Add a warning if the sgs disklabel field is 16 (the default for FFS' cpg, but not usually desirable for LFS' sgs: 5--8 is a better range). * Change the calculation of lfs_avail and lfs_bfree, corresponding to the kernel changes mentioned above. mount_lfs: * Add -N and -b options to pass corresponding -n and -b options to lfs_cleanerd. * Default to calling lfs_cleanerd with "-b -n 4". [All of these changes were largely tested in the 1.5 branch, with the idea that they (along with previous un-pulled-up work) could be applied to the branch while it was still in ALPHA2; however my test system has experienced corruption on another filesystem (/dev/console has gone missing :^), and, while I believe this unrelated to the LFS changes, I cannot with good conscience request that the changes be pulled up.]
Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 23 21:10:26 2000 UTC (12 years, 1 month ago) by perseant
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.9: +8 -7
lines
Diff to previous 1.9 (colored)
Fix problems outlined in PR#9926:
- lfs_truncate extends the file if called with length > i_ffs_size;
- lfs_truncate errors out if called with length < 0;
- lfs_balloc block accounting corrected for the case of blocks read
into the cache before they exist on disk;
- mp->mnt_stat.f_iosize is initialized in lfs_mountfs.
Revision 1.9.14.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:20:09 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored) next main 1.10 (colored)
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.9 / (download) - annotate - [select for diffs], Wed Mar 10 00:20:00 1999 UTC (13 years, 2 months ago) by perseant
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base,
chs-ubc2
Branch point for: wrstuden-devbsize,
thorpej_scsipi
Changes since 1.8: +181 -53
lines
Diff to previous 1.8 (colored)
New sources should leave the LFS in a more-or-less working state. Changes include: - DIROP segregation is enabled, and greater care is taken to make sure that a checkpoint completes. Fsck is not needed to remount the filesystem. - Several checks to make sure that the LFS subsystem does not overuse various resources (memory, in particular). - The cleaner routines, lfs_markv in particular, are completely rewritten. A buffer overflow is removed. Greater care is taken to ensure that inodes come from where lfs_cleanerd say they come from (so we know nothing has changed since lfs_bmapv was called). - Fragment allocation is fixed, so that writes beyond end-of-file do the right thing.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 1 02:23:24 1998 UTC (14 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base,
chs-ubc
Changes since 1.7: +6 -6
lines
Diff to previous 1.7 (colored)
Merge with Lite2 + local changes
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:10:47 1998 UTC (14 years, 2 months ago) by fvdl
Branch: netbsd,
CSRG
CVS Tags: lite-2,
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.7 / (download) - annotate - [select for diffs], Fri Nov 15 23:11:56 1996 UTC (15 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
thorpej-setroot,
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,
mrg-vm-swap,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
is-newarp-before-merge,
is-newarp-base,
is-newarp,
bouyer-scsipi
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
cast int64_t-sized types to "long long" before printing them with %qd. gcc thinks that the 'q' modifier describes a "long long", and so -Wformat whines when printing with 'q' on the alpha, since int64_t-sized types are done with variations on "long" rather than "long long".
Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 12 21:58:50 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.5: +22 -22
lines
Diff to previous 1.5 (colored)
revert previous kprintf changes
Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 10 17:21:22 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +22 -22
lines
Diff to previous 1.4 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 17 02:16:28 1996 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2
Changes since 1.3: +12 -12
lines
Diff to previous 1.3 (colored)
Fix printf format strings
Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 12 22:08:47 1996 UTC (16 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (colored)
di_size is a quad and needs %qu not %lu
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:46:54 1994 UTC (17 years, 11 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:42:32 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
Update to 4.4-Lite fs code, with local changes.