From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: light weight write barriers Date: Wed, 10 Oct 2012 10:17:23 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: linux-kernel@vger.kernel.org, sqlite-users@sqlite.org, linux-fsdevel@vger.kernel.org, drh@hwaci.com Return-path: In-Reply-To: (Richard Hipp's message of "Wed, 10 Oct 2012 08:47:02 -0400") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Richard Hipp writes: > > We would really, really love to have some kind of write-barrier that is > lighter than fsync(). If there is some method other than fsync() for > forcing a write-barrier on Linux that we don't know about, please enlighten > us. Could you list the requirements of such a light weight barrier? i.e. what would it need to do minimally, what's different from fsync/fdatasync ? -Andi -- ak@linux.intel.com -- Speaking for myself only