Date: Tue, 28 Aug 2007 16:57:51 -0700 From: Paul Allen <nospam@nospam.com> To: Pawel Jakub Dawidek <pjd@freebsd.org> Cc: current@freebsd.org, Pascal Hofstee <caelian@gmail.com> Subject: Re: ZFS kernel panic Message-ID: <20070828235751.GB13200@hurl.ugcs.caltech.edu> In-Reply-To: <20070828205554.GI39562@garage.freebsd.pl> References: <20070828180228.GD39562@garage.freebsd.pl> <20070828204834.9A7F85B3B@mail.bitblocks.com> <20070828205554.GI39562@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
>From Pawel Jakub Dawidek <pjd@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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070828235751.GB13200>