panic: ffs_blkfree: freeing free block

Arjan van Leeuwen avleeuwen at gmail.com
Wed Oct 3 13:06:08 PDT 2007


2007/10/3, Peter Jeremy <peterjeremy at optushome.com.au>:
>
> On 2007-Oct-03 15:21:15 +0200, Arjan van Leeuwen <avleeuwen at gmail.com>
> wrote:
> >Also, I note that everytime I panic, my currently opened files are
> reduced
> >to 0 bytes. Is that expected?
>
> It depends, are you talking about files being read or only files being
> written?  If this is just affecting writes, then this is a side-effect
> of the stdio buffering, together with the write-back nature of the UFS
> buffer cache in conjunction with soft-updates: Data on disk is
> typically about 30 seconds behind reality and the file contents will
> always be behind the file itself.  It is quite normal for recently
> written files (or files currently being written) to be truncated on
> disk following a crash.

Yep, these are recently written files indeed. Usually the files I had open
in my editor while it paniced, files that I save often.
Oh well... I'm setting my hopes on this panic being resolved soon then :).
Thanks for the explanation.


More information about the freebsd-current mailing list