DragonFly BSD
DragonFly commits List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern vfs_bio.c vfs_syscalls.c src/sys/sys buf.h src/sys/vm vm_pager.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2005 21:59:53 -0700 (PDT)

hmp         2005/08/02 21:59:53 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c vfs_syscalls.c 
    sys/sys              buf.h 
    sys/vm               vm_pager.c 
  Log:
  BUF/BIO cleanup 2/99:
  
  Localise buffer queue information into kern/vfs_bio.c, it should not be
  messed with outside of the named file.  Convert the QUEUE_* #defines
  into enum bufq_type, prefix the names with 'B'.  The change to initpbuf()
  is acceptable since they are a hack anyway, not to mention that
  
  Move vfs_bufstats() from kern/vfs_syscalls.c into kern/vfs_bio.c since
  that's where it should really belong, atleast till its use is cleaned.
  
  Move bufqueues extern from sys/buf.h into kern/vfs_bio.c as it shouldn't
  be messed with by anything else.  It was only sitting in sys/buf.h
  because of vfs_bufstats().
  
  Note the change to initpbuf() is acceptable since they are a hack anyway,
  not to mention that the said function and friends should probably reside
  in kern/vfs_bio.c.
  
  Revision  Changes    Path
  1.39      +99 -53    src/sys/kern/vfs_bio.c
  1.66      +0 -33     src/sys/kern/vfs_syscalls.c
  1.13      +0 -13     src/sys/sys/buf.h
  1.13      +1 -1      src/sys/vm/vm_pager.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.65&r2=1.66&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pager.c.diff?r1=1.12&r2=1.13&f=u



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