Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 10:19:27 -0800 (PST)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_snapshot.c
Message-ID:  <200212031819.gB3IJRdk066485@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2002/12/03 10:19:27 PST

  Modified files:
    sys/ufs/ffs          ffs_snapshot.c 
  Log:
  Have to use bread() rather than UFS_BALLOC() when obtaining a
  previously allocated block as the previous use of the block may
  have fallen out of the cache. Failure to reread its contents cause
  zeroed results to be written instead of the proper contents.
  Conversely, when the block is going to be entirely filled in, it
  is not necessary reread the old contents.
  
  Sponsored by:   DARPA & NAI Labs.
  Approved by:    re
  
  Revision  Changes    Path
  1.53      +30 -24    src/sys/ufs/ffs/ffs_snapshot.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?200212031819.gB3IJRdk066485>