From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Landley Subject: Re: [V9fs-developer] [RFC PATCH] First RFC version of a new cache=mmap model. Date: Sat, 07 Sep 2013 04:57:22 -0500 Message-ID: <1378547842.8385.2@driftwood> References: <1378217781-27942-1-git-send-email-dominique.martinet@cea.fr> <1378219078-30692-1-git-send-email-dominique.martinet@cea.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: 8BIT Cc: v9fs-developer@lists.sourceforge.net, ericvh@gmail.com, linux-fsdevel@vger.kernel.org To: Dominique Martinet Return-path: Received: from mail-oa0-f45.google.com ([209.85.219.45]:40684 "EHLO mail-oa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943Ab3IGJ50 convert rfc822-to-8bit (ORCPT ); Sat, 7 Sep 2013 05:57:26 -0400 Received: by mail-oa0-f45.google.com with SMTP id m6so4912488oag.18 for ; Sat, 07 Sep 2013 02:57:24 -0700 (PDT) In-Reply-To: <1378219078-30692-1-git-send-email-dominique.martinet@cea.fr> (from dominique.martinet@cea.fr on Tue Sep 3 09:37:58 2013) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 09/03/2013 09:37:58 AM, Dominique Martinet wrote: > - Add cache=mmap option > - Try to keep most operations synchronous > > Signed-off-by: Dominique Martinet > --- > > Hi, > > I brought up the issue of mmap being read-only with cache=none a bit > ago, and worked on it since. > > Here's what this patch does: > - Add an option cache=mmap (or just mmap, like other caches), nothing > changes for default or other caches. Interesting. Should this become the default behavior instead of "none" for non-readonly mounts? (What's the point of the "none" mode now that we have writeable mmap implemented, is there any advantage?) Rob