Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755758Ab3CERAy (ORCPT ); Tue, 5 Mar 2013 12:00:54 -0500 Received: from smtp.eu.citrix.com ([46.33.159.39]:32353 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752809Ab3CERAx (ORCPT ); Tue, 5 Mar 2013 12:00:53 -0500 X-IronPort-AV: E=Sophos;i="4.84,787,1355097600"; d="scan'208";a="2198634" Message-ID: <513624C3.6070808@citrix.com> Date: Tue, 5 Mar 2013 18:00:51 +0100 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk CC: Jan Beulich , "xen-devel@lists.xen.org" , "linux-kernel@vger.kernel.org" Subject: Re: [Xen-devel] [PATCH RFC 12/12] xen-block: implement indirect descriptors References: <1362047335-26402-1-git-send-email-roger.pau@citrix.com> <1362047335-26402-13-git-send-email-roger.pau@citrix.com> <512F4B4402000078000C1E5B@nat28.tlf.novell.com> <512F46F5.5040105@citrix.com> <512F69A002000078000C2020@nat28.tlf.novell.com> <20130304204427.GM15386@phenom.dumpdata.com> <5135B6B702000078000C2FFF@nat28.tlf.novell.com> <20130305141610.GF2589@phenom.dumpdata.com> In-Reply-To: <20130305141610.GF2589@phenom.dumpdata.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 28 On 05/03/13 15:16, Konrad Rzeszutek Wilk wrote: > On Tue, Mar 05, 2013 at 08:11:19AM +0000, Jan Beulich wrote: >>>>> On 04.03.13 at 21:44, Konrad Rzeszutek Wilk wrote: >>> 'op' sounds good. With a comment saying it can do all of the >>> BLKIF_OPS_.. >>> except the BLKIF_OP_INDIRECT one. Thought one could in theory chain >>> it that way for fun. >> >> In fact I'd like to exclude chaining as well as BLKIF_OP_DISCARD here. >> The former should - if useful for anything - be controlled by a >> separate feature flag, and the latter is plain pointless to indirect. >> And I reckon the same would apply to BLKIF_OP_FLUSH_DISKCACHE >> and BLKIF_OP_RESERVED_1 - i.e. it might be better to state that >> indirection is only permitted for normal I/O (read/write) ops. > > That makes sense. And also of course the new BLKIF_OP should > be documented in the Xen tree as well. The only ops that can be done indirectly are _READ, _WRITE and _BARRIER/_FLUSH. From the implementation in blkfront it seems like _FLUSH/_BARRIER requests can indeed contain segments, but I haven't been able to spot any _FLUSH op with segments on it. Can you confirm FLUSH requests never contain bios? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/