Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7E9BC433E0 for ; Mon, 15 Feb 2021 13:39:51 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1ED364D99 for ; Mon, 15 Feb 2021 13:39:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1ED364D99 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kamp.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBe6P-0001nW-RN for qemu-devel@archiver.kernel.org; Mon, 15 Feb 2021 08:39:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBdvq-0007g3-4N; Mon, 15 Feb 2021 08:28:54 -0500 Received: from kerio.kamp.de ([195.62.97.192]:52573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBdvi-0001tV-OT; Mon, 15 Feb 2021 08:28:53 -0500 X-Footer: a2FtcC5kZQ== Received: from [172.21.12.60] ([172.21.12.60]) (authenticated user pl@kamp.de) by kerio.kamp.de with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)); Mon, 15 Feb 2021 14:28:35 +0100 Subject: Re: [PATCH V2 1/7] block/rbd: bump librbd requirement to luminous release To: Kevin Wolf References: <20210126112540.11880-1-pl@kamp.de> <20210126112540.11880-2-pl@kamp.de> <20210215102401.GB1542881@redhat.com> <4b010479-bd8b-85e9-ef29-88524fef6495@kamp.de> <20210215114101.GD1542881@redhat.com> <5cc0ff5a-5360-5d81-2da9-724a2baf9f6d@kamp.de> <20210215121334.GJ7226@merkur.fritz.box> From: Peter Lieven Message-ID: <6c52a0b5-ce02-fd62-25ef-7e303472fc5c@kamp.de> Date: Mon, 15 Feb 2021 14:28:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210215121334.GJ7226@merkur.fritz.box> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=195.62.97.192; envelope-from=pl@kamp.de; helo=kerio.kamp.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , qemu-block@nongnu.org, ct@flyingcircus.io, qemu-devel@nongnu.org, mreitz@redhat.com, pbonzini@redhat.com, dillaman@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Am 15.02.21 um 13:13 schrieb Kevin Wolf: > Am 15.02.2021 um 12:45 hat Peter Lieven geschrieben: >> Am 15.02.21 um 12:41 schrieb Daniel P. Berrangé: >>> On Mon, Feb 15, 2021 at 12:32:24PM +0100, Peter Lieven wrote: >>>> Am 15.02.21 um 11:24 schrieb Daniel P. Berrangé: >>>>> On Tue, Jan 26, 2021 at 12:25:34PM +0100, Peter Lieven wrote: >>>>>> even luminous (version 12.2) is unmaintained for over 3 years now. >>>>>> Bump the requirement to get rid of the ifdef'ry in the code. >>>>> We have clear rules on when we bump minimum versions, determined by >>>>> the OS platforms we target: >>>>> >>>>> https://qemu.readthedocs.io/en/latest/system/build-platforms.html >>>>> >>>>> At this time RHEL-7 is usually the oldest platform, and it >>>>> builds with RBD 10.2.5, so we can't bump the version to 12.2. >>>>> >>>>> I'm afraid this patch has to be dropped. >>>> I have asked exactly this question before I started work on this series and got reply >>>> >>>> from Jason that he sees no problem in bumping to a release which is already unmaintained >>>> >>>> for 3 years. >>> I'm afraid Jason is wrong here. It doesn't matter what the upstream >>> consider the support status to be. QEMU targets what the OS vendors >>> ship, and they still consider this to be a supported version. >> >> Okay, but the whole coroutine stuff would get a total mess with all >> the ifdef'ry. > Hm, but how are these ifdefs even related to the coroutine conversation? > It's a bit more code that you're moving around, but shouldn't it be > unchanged from the old code, just moving from an AIO callback to a > coroutine? Or am I missing some complications? No, the ifdef's only come back in for the write zeroes part. > >> Would it be an option to make a big ifdef in the rbd driver? One with >> old code for < 12.0.0 and one >> >> with new code for >= 12.0.0? > I don't think this is a good idea, this would be a huge mess to > maintain. > > The conversion is probably a good idea in general, simply because it's > more in line with the rest of the block layer, but I don't think it adds > anything per se, so it's hard to justify such duplication with the > benefits it brings. I would wait for Jasons comment on the rbd part of the series and then spin a V3 with a for-6.1 tag. Peter