Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616AbaAMNe7 (ORCPT ); Mon, 13 Jan 2014 08:34:59 -0500 Received: from smtp02.citrix.com ([66.165.176.63]:31975 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbaAMNe4 (ORCPT ); Mon, 13 Jan 2014 08:34:56 -0500 X-IronPort-AV: E=Sophos;i="4.95,653,1384300800"; d="scan'208";a="90168086" Message-ID: <1389620093.13654.58.camel@kazak.uk.xensource.com> Subject: Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard From: Ian Campbell To: Jan Beulich CC: Olaf Hering , , , , Date: Mon, 13 Jan 2014 13:34:53 +0000 In-Reply-To: <52D3F535020000780011311B@nat28.tlf.novell.com> References: <1389608052-7139-1-git-send-email-olaf@aepfle.de> <52D3DAEE0200007800112FD4@nat28.tlf.novell.com> <20140113120131.GA15623@aepfle.de> <52D3EB5F02000078001130B5@nat28.tlf.novell.com> <1389618054.13654.57.camel@kazak.uk.xensource.com> <52D3F535020000780011311B@nat28.tlf.novell.com> Organization: Citrix Systems, Inc. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-3 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.2.80] X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2014-01-13 at 13:16 +0000, Jan Beulich wrote: > >>> On 13.01.14 at 14:00, Ian Campbell wrote: > > On Mon, 2014-01-13 at 12:34 +0000, Jan Beulich wrote: > >> >>> On 13.01.14 at 13:01, Olaf Hering wrote: > >> > On Mon, Jan 13, Jan Beulich wrote: > >> > > >> >> You can't do this in one go - the first two and the last one may be > >> >> set independently (and are independent in their meaning), and > >> >> hence need to be queried independently (xenbus_gather() fails > >> >> on the first absent value). > >> > > >> > Yes, thats the purpose. Since the properties are required its an all or > >> > nothing thing. If they are truly optional then blkif.h should be updated > >> > to say that. > >> > >> They _are_ optional. > > > > But is it true that either they are all present or they are all absent? > > No, it's not. discard-secure is independent of the other two (but > those other two are tied together). Thanks for clarifying. -- 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/