Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2008 05:57:48 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_balloc.c
Message-ID:  <200801190557.m0J5vm9a083142@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-01-19 05:57:48 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/ufs/ffs          ffs_balloc.c 
  Log:
  MFC rev. 1.53:
  ffs_balloc_ufsX() routines, in the case of recovering from the failed
  allocation, free the indirect blocks before clearing the disk pointers,
  that could lead to the softupdate inconsistencies in the case of the
  machine or disk crash at the wrong time.
  
  Rearrange the recover code to do the ffs_blkfree() after the second
  ffs_syncvnode(), that clears the pointers chain.
  
  Revision   Changes    Path
  1.50.10.2  +16 -12    src/sys/ufs/ffs/ffs_balloc.c



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