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=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 43C0DC07E95 for ; Wed, 7 Jul 2021 18:18:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D7FF61C83 for ; Wed, 7 Jul 2021 18:18:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231972AbhGGSU6 (ORCPT ); Wed, 7 Jul 2021 14:20:58 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:60844 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232474AbhGGSUH (ORCPT ); Wed, 7 Jul 2021 14:20:07 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id EA864200DA; Wed, 7 Jul 2021 18:17:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1625681845; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t7u3sdRcAaktlyn179iYqyggdK2IM3EhPICDJusIz74=; b=Ub9MeWFZXu5d7eEWSLFdou75TVZkPsXh66NKH6KQytkvtYg1kkGQrq6WsbfhatWMDr52NC GtoHGJxgoyJjbCz6ZjK16P+R8+u8jh1aO/mfyJY9zRsj6nEFWAQqj9oOx88fZmJToCZgVP C8/vnfhtqdrD0sVg91bcXcSZbiWz46g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1625681845; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t7u3sdRcAaktlyn179iYqyggdK2IM3EhPICDJusIz74=; b=rXW328Y23affxN3dk2BWpn9BQQVJiCYOHOZV+QiZ6avDIm4jjAbHlB5qI1Ur46kdxEcwgU rXpSDM8aLmsr3XBA== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id E25B7A3C03; Wed, 7 Jul 2021 18:17:25 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 28399DB29B; Wed, 7 Jul 2021 20:14:52 +0200 (CEST) Date: Wed, 7 Jul 2021 20:14:52 +0200 From: David Sterba To: Neal Gompa Cc: Qu Wenruo , Btrfs BTRFS , David Sterba Subject: Re: [PATCH v6 00/15] btrfs: add data write support for subpage Message-ID: <20210707181451.GS2610@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Neal Gompa , Qu Wenruo , Btrfs BTRFS References: <20210705020110.89358-1-wqu@suse.com> <5ad76de9-d1df-cafa-f5c3-44e316e0fb23@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Wed, Jul 07, 2021 at 01:41:46PM -0400, Neal Gompa wrote: > > But on the other hand, I'm not sure what's the proper way to introduce a > > fix for v5.15 window. > > > > Should I just disable readahead for compression read (which just needs > > two lines to return 0 for subpage case in add_ra_bio_pages())? > > > > Or should I add the proper fix into the patchset? > > If this is going into 5.15 instead of 5.14, just add the proper fix > into this patch set. But if we want to land this in 5.14, I would > suggest disabling it for now and then having a separate patch set for > that. 5.14 is not possible, there are other subpage changes already merged so fixes to existing level of support (still limited) can go to 5.14-rcs but this whole patchses it is targeting 5.15. > You're already targeting 5.15 (though I kind of want this in 5.14...), > so I suggest going with adding the fix to the patch set. For 5.15 it's free to do any change, eg. fold the fix or do a separate patch explaining all the details. In general the development changes must be ready at the rc5 time at the latest (with a week or two for some testing and catching last bugs). Once it's due there's like two months until the next code freeze.