From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [PATCH 1/1] fs: global sync to not clear error status of individual inodes Date: Tue, 15 Sep 2015 18:52:50 +0200 Message-ID: <20150915165250.GC1747@two.firstfloor.org> References: <20150915094638.GA13399@xzibit.linux.bs1.fc.nec.co.jp> <20150915095412.GD13399@xzibit.linux.bs1.fc.nec.co.jp> <20150915152006.GD2905@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junichi Nomura , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "akpm@linux-foundation.org" , "andi@firstfloor.org" , "fengguang.wu@intel.com" , "tony.luck@intel.com" , "liwanp@linux.vnet.ibm.com" , "david@fromorbit.com" , Naoya Horiguchi To: Tejun Heo Return-path: Content-Disposition: inline In-Reply-To: <20150915152006.GD2905@mtj.duckdns.org> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org > Is this an actual problem? Write errors usually indicate that the There are transaction systems that need to track errors at the level of the individual IO. So yes we should guarantee that if a particular sync failed an error is always returned. -Andi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbbIOQwy (ORCPT ); Tue, 15 Sep 2015 12:52:54 -0400 Received: from one.firstfloor.org ([193.170.194.197]:56686 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311AbbIOQww (ORCPT ); Tue, 15 Sep 2015 12:52:52 -0400 Date: Tue, 15 Sep 2015 18:52:50 +0200 From: Andi Kleen To: Tejun Heo Cc: Junichi Nomura , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "akpm@linux-foundation.org" , "andi@firstfloor.org" , "fengguang.wu@intel.com" , "tony.luck@intel.com" , "liwanp@linux.vnet.ibm.com" , "david@fromorbit.com" , Naoya Horiguchi Subject: Re: [PATCH 1/1] fs: global sync to not clear error status of individual inodes Message-ID: <20150915165250.GC1747@two.firstfloor.org> References: <20150915094638.GA13399@xzibit.linux.bs1.fc.nec.co.jp> <20150915095412.GD13399@xzibit.linux.bs1.fc.nec.co.jp> <20150915152006.GD2905@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150915152006.GD2905@mtj.duckdns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Is this an actual problem? Write errors usually indicate that the There are transaction systems that need to track errors at the level of the individual IO. So yes we should guarantee that if a particular sync failed an error is always returned. -Andi