Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261202AbVEQGNN (ORCPT ); Tue, 17 May 2005 02:13:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261213AbVEQGNI (ORCPT ); Tue, 17 May 2005 02:13:08 -0400 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 Subject: RE: [RFD] What error should FS return when I/O failure occurs? From: fs To: "Hua Zhong (hzhong)" Cc: linux-kernel , linux-fsdevel , Kenichi Okuyama In-Reply-To: <75D9B5F4E50C8B4BB27622BD06C2B82B2264F7@xmb-sjc-235.amer.cisco.com> References: <75D9B5F4E50C8B4BB27622BD06C2B82B2264F7@xmb-sjc-235.amer.cisco.com> Content-Type: text/plain Organization: iscas Message-Id: <1116350444.2428.46.camel@CoolQ> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 17 May 2005 13:20:45 -0400 Content-Transfer-Encoding: 7bit X-ArGoMail-Authenticated: fs@ercist.iscas.ac.cn Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 16 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/