From mboxrd@z Thu Jan 1 00:00:00 1970 From: fs Subject: RE: [RFD] What error should FS return when I/O failure occurs? Date: Tue, 17 May 2005 13:20:45 -0400 Message-ID: <1116350444.2428.46.camel@CoolQ> References: <75D9B5F4E50C8B4BB27622BD06C2B82B2264F7@xmb-sjc-235.amer.cisco.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-kernel , linux-fsdevel , Kenichi Okuyama Return-path: Received: from ercist.iscas.ac.cn ([159.226.5.94]:19214 "EHLO ercist.iscas.ac.cn") by vger.kernel.org with ESMTP id S261184AbVEQGND (ORCPT ); Tue, 17 May 2005 02:13:03 -0400 To: "Hua Zhong (hzhong)" In-Reply-To: <75D9B5F4E50C8B4BB27622BD06C2B82B2264F7@xmb-sjc-235.amer.cisco.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 2005-05-17 at 02:00, Hua Zhong (hzhong) wrote: > The thing is the EIO almost always happens at background so there is no > way to return it to the user space. If you want to see EIO, do fsync > explicitly. even with fsync, the result is still EROFS, you can visit http://developer.osdl.jp/projects/doubt/fs-consistency-and-coherency/ to see the result.