Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 20:29:10 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_bio.c src/sys/sys buf.h src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
Message-ID:  <200502082029.j18KTA3W072837@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2005-02-08 20:29:10 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/sys              buf.h 
    sys/ufs/ffs          ffs_extern.h ffs_softdep.c ffs_vfsops.c 
  Log:
  Background writes are entirely an FFS/Softupdates thing.
  
  Give FFS vnodes a specific bufwrite method which contains all the
  background write stuff and then calls into the default bufwrite()
  for the rest of the job.
  
  Remove all the background write related stuff from the normal bufwrite.
  
  This drags the softdep_move_dependencies() back into FFS.
  
  Long term, it is worth looking at simply copying the data into
  allocated memory and issuing the bio directly and not create the
  "shadow buf" in the first place (just like copy-on-write is done
  in snapshots for instance).  I don't think we really gain anything
  but complexity from doing this with a buf.
  
  Revision  Changes    Path
  1.477     +5 -126    src/sys/kern/vfs_bio.c
  1.184     +0 -8      src/sys/sys/buf.h
  1.66      +1 -0      src/sys/ufs/ffs/ffs_extern.h
  1.172     +1 -3      src/sys/ufs/ffs/ffs_softdep.c
  1.276     +172 -1    src/sys/ufs/ffs/ffs_vfsops.c



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