From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Kleikamp Subject: Re: [PATCH v4 16/31] loop: use aio to perform io on the underlying file Date: Mon, 03 Dec 2012 20:58:33 -0600 Message-ID: <50BD66D9.8080408@oracle.com> References: <1353537671-26284-1-git-send-email-dave.kleikamp@oracle.com> <1353537671-26284-17-git-send-email-dave.kleikamp@oracle.com> <20121122230628.GV2591@dastard> <50BCDA7B.7080000@oracle.com> <20121204025221.GF32450@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Zach Brown , "Maxim V. Patlasov" To: Dave Chinner Return-path: In-Reply-To: <20121204025221.GF32450@dastard> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 12/03/2012 08:52 PM, Dave Chinner wrote: > On Mon, Dec 03, 2012 at 10:59:39AM -0600, Dave Kleikamp wrote: >> On 11/22/2012 05:06 PM, Dave Chinner wrote: >>> And this extra fsync is now not done in the aio path. I.e. the AIO >>> completion path needs to issue the fsync to maintain correct REQ_FUA >>> semantics... >> >> If this is really necessary, I can fix it. > > Absolutely. If we don't implement FUA properly, we'll end up with > corrupted filesystems and/or data loss when kernel crashes or > powerloss occurs. That's not an acceptable outcome, so we need FUA > to be implemented properly. Okay, just wanted to make sure. Thanks, Shaggy