Re: ZFS kernel panic

From: Paul Allen <nospam_at_nospam.com>
Date: Tue, 28 Aug 2007 16:57:51 -0700
>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).
Received on Tue Aug 28 2007 - 22:27:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC