cvs commit: src/sbin/fsck Makefile dir.c fsck.h fsutil.c fsutil.h inode.c memzone.c memzone.h pass1.c pass1b.c pass2.c pass3.c pass4.c utilities.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 11 21:06:31 PDT 2006


dillon      2006/10/11 21:04:04 PDT

DragonFly src repository

  Modified files:
    sbin/fsck            Makefile dir.c fsck.h fsutil.c fsutil.h 
                         inode.c pass1.c pass1b.c pass2.c pass3.c 
                         pass4.c utilities.c 
  Added files:
    sbin/fsck            memzone.c memzone.h 
  Log:
  Greatly reduce memory requirements when fsck'ing filesystems with lots
  of directories (23 million directories in my case), primarily by using
  the correct ufs1_ino_t type instead of ino_t.  Use a linear allocator
  for these as well to pack the allocations optimally.
  
  Revision  Changes    Path
  1.4       +2 -1      src/sbin/fsck/Makefile
  1.10      +19 -19    src/sbin/fsck/dir.c
  1.7       +25 -25    src/sbin/fsck/fsck.h
  1.6       +0 -35     src/sbin/fsck/fsutil.c
  1.4       +0 -3      src/sbin/fsck/fsutil.h
  1.11      +21 -19    src/sbin/fsck/inode.c
  1.9       +4 -4      src/sbin/fsck/pass1.c
  1.8       +1 -1      src/sbin/fsck/pass1b.c
  1.11      +3 -3      src/sbin/fsck/pass2.c
  1.6       +1 -1      src/sbin/fsck/pass3.c
  1.7       +1 -1      src/sbin/fsck/pass4.c
  1.10      +2 -2      src/sbin/fsck/utilities.c


http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/dir.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/fsck.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/fsutil.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/fsutil.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/inode.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/pass1.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/pass1b.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/pass2.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/pass3.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/pass4.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/fsck/utilities.c.diff?r1=1.9&r2=1.10&f=u





More information about the Commits mailing list