From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED4BAC64ED6 for ; Tue, 28 Feb 2023 13:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229637AbjB1NNw (ORCPT ); Tue, 28 Feb 2023 08:13:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjB1NNv (ORCPT ); Tue, 28 Feb 2023 08:13:51 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA4721968 for ; Tue, 28 Feb 2023 05:13:47 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id CBF4B68AA6; Tue, 28 Feb 2023 14:13:43 +0100 (CET) Date: Tue, 28 Feb 2023 14:13:43 +0100 From: Christoph Hellwig To: Johannes Thumshirn Cc: Christoph Hellwig , Chris Mason , Josef Bacik , David Sterba , "linux-btrfs@vger.kernel.org" Subject: Re: [PATCH 06/12] btrfs: move the compress_type check out of btrfs_bio_add_page Message-ID: <20230228131343.GA25954@lst.de> References: <20230227151704.1224688-1-hch@lst.de> <20230227151704.1224688-7-hch@lst.de> <4253c978-d19e-5032-913a-dafda476eded@wdc.com> <20230228025824.GA26819@lst.de> <4ef88b3e-1352-e3ca-9e5a-a139ba30c498@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ef88b3e-1352-e3ca-9e5a-a139ba30c498@wdc.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Tue, Feb 28, 2023 at 09:02:42AM +0000, Johannes Thumshirn wrote: > Sh*t, then at least let's document that with a comment. Otherwise someone > will see the code and try to clean it up and possibly break it. I'll literally blow up on the first compression xfstests.