Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [perseant-lfsv2] syssrc/sys/ufs/lfs



Module Name:    syssrc
Committed By:   perseant
Date:           Mon Jul  2 17:48:21 UTC 2001

Modified Files:
        basesrc/libexec/lfs_cleanerd [perseant-lfsv2]: clean.h cleanerd.c
            library.c print.c
        basesrc/sbin/dump_lfs [perseant-lfsv2]: lfs_inode.c
        basesrc/sbin/fsck_lfs [perseant-lfsv2]: dir.c inode.c pass0.c pass1.c
            pass5.c setup.c utilities.c
        basesrc/sbin/newfs_lfs [perseant-lfsv2]: lfs.c
        basesrc/usr.sbin/dumplfs [perseant-lfsv2]: dumplfs.c
        syssrc/sys/ufs/lfs [perseant-lfsv2]: lfs.h lfs_alloc.c lfs_balloc.c
            lfs_bio.c lfs_debug.c lfs_inode.c lfs_segment.c lfs_subr.c
            lfs_syscalls.c lfs_vfsops.c lfs_vnops.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.10.2.2 -r1.10.2.3 basesrc/libexec/lfs_cleanerd/clean.h
cvs rdiff -r1.30.2.2 -r1.30.2.3 basesrc/libexec/lfs_cleanerd/cleanerd.c
cvs rdiff -r1.21.2.3 -r1.21.2.4 basesrc/libexec/lfs_cleanerd/library.c
cvs rdiff -r1.9.2.3 -r1.9.2.4 basesrc/libexec/lfs_cleanerd/print.c
cvs rdiff -r1.2 -r1.2.10.1 basesrc/sbin/dump_lfs/lfs_inode.c
cvs rdiff -r1.4 -r1.4.4.1 basesrc/sbin/fsck_lfs/dir.c
cvs rdiff -r1.10.2.2 -r1.10.2.3 basesrc/sbin/fsck_lfs/inode.c
cvs rdiff -r1.8.2.1 -r1.8.2.2 basesrc/sbin/fsck_lfs/pass0.c \
    basesrc/sbin/fsck_lfs/pass5.c
cvs rdiff -r1.10 -r1.10.2.1 basesrc/sbin/fsck_lfs/pass1.c
cvs rdiff -r1.8.2.2 -r1.8.2.3 basesrc/sbin/fsck_lfs/setup.c
cvs rdiff -r1.7.2.1 -r1.7.2.2 basesrc/sbin/fsck_lfs/utilities.c
cvs rdiff -r1.21.2.2 -r1.21.2.3 basesrc/sbin/newfs_lfs/lfs.c
cvs rdiff -r1.18.2.3 -r1.18.2.4 basesrc/usr.sbin/dumplfs/dumplfs.c
cvs rdiff -r1.36.4.1 -r1.36.4.2 syssrc/sys/ufs/lfs/lfs.h
cvs rdiff -r1.47.2.3 -r1.47.2.4 syssrc/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.28.2.1 -r1.28.2.2 syssrc/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.35.4.2 -r1.35.4.3 syssrc/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.11.4.2 -r1.11.4.3 syssrc/sys/ufs/lfs/lfs_debug.c
cvs rdiff -r1.51.2.2 -r1.51.2.3 syssrc/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.68.2.2 -r1.68.2.3 syssrc/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.17.4.2 -r1.17.4.3 syssrc/sys/ufs/lfs/lfs_subr.c
cvs rdiff -r1.56.4.2 -r1.56.4.3 syssrc/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.65.2.3 -r1.65.2.4 syssrc/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.50.4.1 -r1.50.4.2 syssrc/sys/ufs/lfs/lfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index