Up to [cvs.NetBSD.org] / src / sbin / fsck_lfs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.15.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:18 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored) next main 1.16 (colored)
Merge changes from current as of 20200406
Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 3 19:36:33 2020 UTC (3 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
netbsd-10-base,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Avoid common symbols for fsck_lfs.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Aug 19 20:33:29 2015 UTC (7 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored)
Part two of dinodes; use the same union everywhere. (previously the ufs-derived code had things set up slightly different) Remove a bunch of associated mess.
Revision 1.11.6.1 / (download) - annotate - [select for diffs], Thu May 22 11:37:28 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.11.12.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:51 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
resync from head
Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 8 02:16:03 2013 UTC (9 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
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-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Changes since 1.13: +2 -4
lines
Diff to previous 1.13 (colored)
Tidy up the LFS userland build hacks. Don't use -I${NETBSDSRCDIR}/sys; don't include files other than the exported LFS headers, which are lfs.h, lfs_inode.h, and (for now) lfs_extern.h.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 6 00:54:49 2013 UTC (10 years ago) by dholland
Branch: MAIN
Changes since 1.12: +4 -2
lines
Diff to previous 1.12 (colored)
Cleanups and hacks to make lfs userland stuff build: - lfs_cksum.c doesn't actually need ulfs_inode.h any more. - neither does lfs_itimes.c. - add hacks to fsck_lfs to make it compile. - add hacks to newfs_lfs to make it compile. - fix warning in ulfs_quota.c when quotas are fully disabled (as I guess is happening with the rumpity version) XXX: This commit adds -I${NETBSDSRCDIR}/sys to the Makefiles for XXX: fsck_lfs, newfs_lfs, and lfs_cleanerd. This needs to be cleaned XXX: up ASAP; but I consider this less problematic in the short term XXX: than spewing ulfs_*.h into /usr/include.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 6 00:52:50 2013 UTC (10 years ago) by dholland
Branch: MAIN
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
ufs -> ulfs for fsck_lfs.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 16 23:20:30 2010 UTC (13 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Three changes in a single commit. - drop the notion of frags (LFS fragments) vs fsb (FFS fragments) The code uses a complicated unity function that just makes the code difficult to understand. - support larger sector sizes. Fix disk address computations to use DEV_BSIZE in the kernel as required by device drivers and to use sector sizes in userland. - Fix several locking bugs in lfs_bio.c and lfs_subr.c.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 6 00:51:55 2009 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.9: +4 -3
lines
Diff to previous 1.9 (colored)
Define syscalls of lfs userspace tools (cleaner, mainly) through a struct called kernelops, which contains standard system calls for the normal case and rump system calls for the rump case. Make it possible to run the lfs cleaner in a library fashion (taking the quick route with the implementation).
Revision 1.8.8.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:21 2008 UTC (15 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.8: +1 -8
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
Sync with HEAD.
Revision 1.8.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:51 2008 UTC (15 years ago) by yamt
Branch: yamt-pf42
Changes since 1.8: +1 -8
lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
sync with head.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:08 2008 UTC (15 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase
Changes since 1.8: +1 -8
lines
Diff to previous 1.8 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.6.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:12:37 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:20 2007 UTC (15 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
mjf-devfs-base,
mjf-devfs,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-pf42,
mjf-devfs2
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
Merge from vmlocking: - Split vnode::v_flag into three fields, depending on field locking. - simple_lock -> kmutex in a few places. - Fix some simple locking problems.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 8 21:39:50 2007 UTC (15 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
Give brelse() a second argument so that it matches the kernel. fsck_lfs now compiles again.
Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 9 19:36:36 2006 UTC (16 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.5: +3 -4
lines
Diff to previous 1.5 (colored)
Fix malloc/realloc/calloc issues: always check and exit, use EEXIT instead of 8.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 20 01:20:55 2006 UTC (17 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.4: +5 -3
lines
Diff to previous 1.4 (colored)
Coverity CID 2551: Don't use LIST_FOREACH() if you are going to free the current element (bp) in the body of the loop; the foreach does bp = bp->next;
Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 17 15:53:46 2006 UTC (17 years, 2 months ago) by rumble
Branch: MAIN
Changes since 1.3: +3 -1
lines
Diff to previous 1.3 (colored)
Check for allocation failures in malloc, calloc, realloc, asprintf, and vasprintf and try to handle them.
Revision 1.2.6.1 / (download) - annotate - [select for diffs], Sat May 7 11:21:29 2005 UTC (18 years, 1 month ago) by tron
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,
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.2: +15 -5
lines
Diff to previous 1.2 (colored) next main 1.3 (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.3 / (download) - annotate - [select for diffs], Mon Apr 11 23:19:24 2005 UTC (18 years, 1 month ago) by perseant
Branch: MAIN
Changes since 1.2: +15 -5
lines
Diff to previous 1.2 (colored)
Be more efficient with the hash tables for the buffer and vnode caches. Note that roll-forward can add more inodes to the filesystem; don't overflow the tables but reallocate them.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 2 10:39:28 2003 UTC (20 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-3-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
Branch point for: netbsd-3
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Fri Mar 28 08:09:55 2003 UTC (20 years, 2 months ago) by perseant
Branch: MAIN
Add working writing ability to fsck_lfs, including roll-forward, based on a partial-segment writer ported from the kernel.