From: Ian Campbell Subject: Re: [PATCH] libxl: introduce an option for disabling the non-O_DIRECT workaround [and 1 more messages] Date: Thu, 3 Apr 2014 12:41:31 +0100 Message-ID: <1396525291.4211.79.camel@kazak.uk.xensource.com> References: <1385466151-21481-1-git-send-email-ian.jackson@eu.citrix.com> <1385466151-21481-2-git-send-email-ian.jackson@eu.citrix.com> <20131126174617.GM2959@phenom.dumpdata.com> <5294E0E6.1070305@eu.citrix.com> <20131126181850.GB2917@phenom.dumpdata.com> <21143.11087.826909.827676@mariner.uk.xensource.com> <21143.32320.834503.784727@mariner.uk.xensource.com> <9F2C4E7DFB7839489C89757A66C5AD62461CF9@AMSPEX01CL03.citrite.net> <9F2C4E7DFB7839489C89757A66C5AD62463030@AMSPEX01CL03.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WVg1Z-0001wI-8d for xen-devel@lists.xenproject.org; Thu, 03 Apr 2014 11:41:37 +0000 In-Reply-To: <9F2C4E7DFB7839489C89757A66C5AD62463030@AMSPEX01CL03.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Felipe Franciosi Cc: George Dunlap , Stefano Stabellini , "alex@alex.org.uk" , "xen-devel@lists.xenproject.org" , Ian Jackson List-Id: xen-devel@lists.xenproject.org (can you not top post please) On Thu, 2014-04-03 at 11:51 +0100, Felipe Franciosi wrote: > I would personally prefer to call the flag something else. But if this > would delay checking in the patch, then never mind. I think it most likely needs rebasing and reposting anyway, so we may as well get this right at the same time. > Using (or not using) O_DIRECT is not only about safety. So I'd > recommend it being called "directio" instead of "direct-io-safe". The use of "direct-io-safe" is already deployed and understood by released qemus so I'm not sure we can simply change it (although we could add a more descriptive synonym I suppose). For the libxl layer we might want to include some sort of indication that this is best effort in the field name e.g. "request_directio", "prefer_directio" etc. Thoughts? Ian.