Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 23:18:05 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/include/protocols dumprestore.h src/lib/libstand ufs.c src/release/picobsd/build write_mfs_in_kernel.c src/sbin Makefile src/sbin/badsect badsect.c src/sbin/clri clri.c src/sbin/dump dump.h itime.c main.c optr.c tape.c traverse.c ...
Message-ID:  <200206210618.g5L6I5w81565@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2002/06/20 23:18:05 PDT

  Modified files:
    include/protocols    dumprestore.h 
    lib/libstand         ufs.c 
    release/picobsd/build write_mfs_in_kernel.c 
    sbin                 Makefile 
    sbin/badsect         badsect.c 
    sbin/clri            clri.c 
    sbin/dump            dump.h itime.c main.c optr.c tape.c 
                         traverse.c 
    sbin/dumpfs          dumpfs.c 
    sbin/fsck_ffs        dir.c fsck.h fsutil.c inode.c main.c 
                         pass1.c pass1b.c pass2.c pass4.c pass5.c 
                         setup.c 
    sbin/fsdb            fsdb.c fsdb.h fsdbutil.c 
    sbin/fsirand         fsirand.c 
    sbin/growfs          growfs.c 
    sbin/newfs           mkfs.c newfs.8 newfs.c newfs.h 
    sbin/quotacheck      quotacheck.c 
    sbin/restore         dirs.c main.c restore.c restore.h tape.c 
    sbin/tunefs          tunefs.8 tunefs.c 
    sys/boot/common      ufsread.c 
    sys/boot/i386        Makefile 
    sys/boot/i386/boot2  Makefile boot2.c 
    sys/boot/i386/libi386 Makefile 
    sys/boot/i386/loader Makefile 
    sys/i386             Makefile 
    sys/kern             subr_disklabel.c subr_diskslice.c 
                         vfs_bio.c vfs_cluster.c vfs_syscalls.c 
                         vfs_vnops.c 
    sys/sys              stat.h types.h vnode.h 
    sys/ufs/ffs          ffs_alloc.c ffs_balloc.c ffs_extern.h 
                         ffs_inode.c ffs_snapshot.c ffs_softdep.c 
                         ffs_softdep_stub.c ffs_subr.c 
                         ffs_tables.c ffs_vfsops.c ffs_vnops.c 
                         fs.h softdep.h 
    sys/ufs/ufs          dinode.h inode.h quota.h ufs_acl.c 
                         ufs_bmap.c ufs_extattr.c ufs_extern.h 
                         ufs_inode.c ufs_lookup.c ufs_quota.c 
                         ufs_readwrite.c ufs_vnops.c ufsmount.h 
    usr.bin/fstat        fstat.c 
    usr.sbin/quot        quot.c 
  Log:
  This commit adds basic support for the UFS2 filesystem. The UFS2
  filesystem expands the inode to 256 bytes to make space for 64-bit
  block pointers. It also adds a file-creation time field, an ability
  to use jumbo blocks per inode to allow extent like pointer density,
  and space for extended attributes (up to twice the filesystem block
  size worth of attributes, e.g., on a 16K filesystem, there is space
  for 32K of attributes). UFS2 fully supports and runs existing UFS1
  filesystems. New filesystems built using newfs can be built in either
  UFS1 or UFS2 format using the -O option. In this commit UFS1 is
  the default format, so if you want to build UFS2 format filesystems,
  you must specify -O 2. This default will be changed to UFS2 when
  UFS2 proves itself to be stable. In this commit the boot code for
  reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
  as there is insufficient space in the boot block. Once the size of the
  boot block is increased, this code can be defined.
  
  Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
  The header file <ufs/ufs/dinode.h> must be included before
  <ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
  ufs_lbn_t.
  
  Still TODO:
  Verify that the first level bootstraps work for all the architectures.
  Convert the utility ffsinfo to understand UFS2 and test growfs.
  Add support for the extended attribute storage. Update soft updates
  to ensure integrity of extended attribute storage. Switch the
  current extended attribute interfaces to use the extended attribute
  storage. Add the extent like functionality (framework is there,
  but is currently never used).
  
  Sponsored by: DARPA & NAI Labs.
  Reviewed by:    Poul-Henning Kamp <phk@freebsd.org>
  
  Revision  Changes    Path
  1.9       +39 -8     src/include/protocols/dumprestore.h
  1.12      +90 -95    src/lib/libstand/ufs.c
  1.10      +23 -5     src/release/picobsd/build/write_mfs_in_kernel.c
  1.107     +0 -1      src/sbin/Makefile
  1.14      +21 -3     src/sbin/badsect/badsect.c
  1.7       +46 -21    src/sbin/clri/clri.c
  1.17      +8 -10     src/sbin/dump/dump.h
  1.12      +4 -4      src/sbin/dump/itime.c
  1.37      +28 -25    src/sbin/dump/main.c
  1.21      +2 -0      src/sbin/dump/optr.c
  1.20      +11 -11    src/sbin/dump/tape.c
  1.19      +197 -73   src/sbin/dump/traverse.c
  1.18      +128 -106  src/sbin/dumpfs/dumpfs.c
  1.23      +44 -42    src/sbin/fsck_ffs/dir.c
  1.25      +63 -32    src/sbin/fsck_ffs/fsck.h
  1.14      +15 -13    src/sbin/fsck_ffs/fsutil.c
  1.31      +103 -86   src/sbin/fsck_ffs/inode.c
  1.33      +12 -8     src/sbin/fsck_ffs/main.c
  1.29      +72 -53    src/sbin/fsck_ffs/pass1.c
  1.11      +2 -2      src/sbin/fsck_ffs/pass1b.c
  1.18      +22 -16    src/sbin/fsck_ffs/pass2.c
  1.11      +3 -3      src/sbin/fsck_ffs/pass4.c
  1.28      +68 -81    src/sbin/fsck_ffs/pass5.c
  1.33      +73 -38    src/sbin/fsck_ffs/setup.c
  1.26      +48 -24    src/sbin/fsdb/fsdb.c
  1.9       +5 -5      src/sbin/fsdb/fsdb.h
  1.17      +64 -39    src/sbin/fsdb/fsdbutil.c
  1.10      +70 -47    src/sbin/fsirand/fsirand.c
  1.9       +316 -395  src/sbin/growfs/growfs.c
  1.57      +373 -440  src/sbin/newfs/mkfs.c
  1.52      +21 -17    src/sbin/newfs/newfs.8
  1.62      +46 -56    src/sbin/newfs/newfs.c
  1.7       +17 -5     src/sbin/newfs/newfs.h
  1.16      +59 -21    src/sbin/quotacheck/quotacheck.c
  1.22      +46 -68    src/sbin/restore/dirs.c
  1.16      +2 -5      src/sbin/restore/main.c
  1.12      +2 -2      src/sbin/restore/restore.c
  1.4       +12 -5     src/sbin/restore/restore.h
  1.35      +120 -163  src/sbin/restore/tape.c
  1.21      +17 -24    src/sbin/tunefs/tunefs.8
  1.24      +31 -33    src/sbin/tunefs/tunefs.c
  1.4       +174 -41   src/sys/boot/common/ufsread.c
  1.17      +1 -1      src/sys/boot/i386/Makefile
  1.30      +1 -1      src/sys/boot/i386/boot2/Makefile
  1.43      +39 -45    src/sys/boot/i386/boot2/boot2.c
  1.26      +7 -4      src/sys/boot/i386/libi386/Makefile
  1.58      +1 -1      src/sys/boot/i386/loader/Makefile
  1.11      +1 -0      src/sys/i386/Makefile
  1.66      +6 -5      src/sys/kern/subr_disklabel.c
  1.105     +5 -5      src/sys/kern/subr_diskslice.c
  1.312     +9 -8      src/sys/kern/vfs_bio.c
  1.120     +7 -8      src/sys/kern/vfs_cluster.c
  1.260     +2 -2      src/sys/kern/vfs_syscalls.c
  1.147     +2 -2      src/sys/kern/vfs_vnops.c
  1.25      +4 -2      src/sys/sys/stat.h
  1.66      +0 -2      src/sys/sys/types.h
  1.180     +1 -0      src/sys/sys/vnode.h
  1.93      +452 -231  src/sys/ufs/ffs/ffs_alloc.c
  1.35      +399 -43   src/sys/ufs/ffs/ffs_balloc.c
  1.48      +21 -17    src/sys/ufs/ffs/ffs_extern.h
  1.79      +82 -56    src/sys/ufs/ffs/ffs_inode.c
  1.36      +474 -137  src/sys/ufs/ffs/ffs_snapshot.c
  1.116     +351 -104  src/sys/ufs/ffs/ffs_softdep.c
  1.22      +6 -6      src/sys/ufs/ffs/ffs_softdep_stub.c
  1.31      +60 -11    src/sys/ufs/ffs/ffs_subr.c
  1.9       +1 -0      src/sys/ufs/ffs/ffs_tables.c
  1.183     +162 -115  src/sys/ufs/ffs/ffs_vfsops.c
  1.84      +1 -1      src/sys/ufs/ffs/ffs_vnops.c
  1.33      +122 -149  src/sys/ufs/ffs/fs.h
  1.15      +23 -15    src/sys/ufs/ffs/softdep.h
  1.10      +89 -46    src/sys/ufs/ufs/dinode.h
  1.38      +39 -29    src/sys/ufs/ufs/inode.h
  1.21      +4 -4      src/sys/ufs/ufs/quota.h
  1.15      +3 -0      src/sys/ufs/ufs/ufs_acl.c
  1.53      +50 -35    src/sys/ufs/ufs/ufs_bmap.c
  1.52      +2 -2      src/sys/ufs/ufs/ufs_extattr.c
  1.42      +5 -4      src/sys/ufs/ufs/ufs_extern.h
  1.43      +11 -5     src/sys/ufs/ufs/ufs_inode.c
  1.61      +13 -7     src/sys/ufs/ufs/ufs_lookup.c
  1.56      +13 -12    src/sys/ufs/ufs/ufs_quota.c
  1.91      +8 -6      src/sys/ufs/ufs/ufs_readwrite.c
  1.196     +99 -34    src/sys/ufs/ufs/ufs_vnops.c
  1.26      +7 -2      src/sys/ufs/ufs/ufsmount.h
  1.42      +4 -0      src/usr.bin/fstat/fstat.c
  1.18      +87 -53    src/usr.sbin/quot/quot.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206210618.g5L6I5w81565>