ZFS kernel panic

Paul Allen nospam at nospam.com
Tue Aug 28 17:27:03 PDT 2007


>From Pawel Jakub Dawidek <pjd at freebsd.org>, Tue, Aug 28, 2007 at 10:55:55PM +0200:
> You can't ignore write error, because application already assumed the
> write succeeded, which can lead to misbehaviour later. ZFS cannot yet
What !?! I suggest you man 2 fsync.

fsync should return EIO if any write in the past has failed.

No program should make assumptions based on a successful return of write(2).
Granted, many do; but applications where it really matters properly do fsync(2).




More information about the freebsd-current mailing list