From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD? Date: Wed, 20 Nov 2013 05:38:33 -0800 Message-ID: <20131120133833.GA16034@infradead.org> References: <528CA73B.9070604@profihost.ag> <20131120125446.GA6284@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Stefan Priebe - Profihost AG , linux-fsdevel@vger.kernel.org, Al Viro , LKML , matthew@wil.cx To: Chinmay V S Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:46221 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727Ab3KTNih (ORCPT ); Wed, 20 Nov 2013 08:38:37 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Nov 20, 2013 at 07:04:15PM +0530, Chinmay V S wrote: > Note that SYNC/DSYNC on a filesystem(eg. ext2/3/4) does NOT issue a > CMD_FLUSH. The "SYNC" via filesystem, simply guarantees that the data > is sent to the disk and not really flushed to the disk. While this used to be the case for ext2 and ext3 this has never been true for the modern filesystem, and has been fixed for ext3 quite a while ago.