Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2492229imw; Wed, 6 Jul 2022 06:54:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tk93vMyyCkCBG1ZrJ83wpggXrmmRTdp5kksbc33y61DtnOhbWiJyl4AUv2tv35qt7wwzR7 X-Received: by 2002:a05:6402:27c9:b0:435:d420:5ebb with SMTP id c9-20020a05640227c900b00435d4205ebbmr53555383ede.89.1657115692910; Wed, 06 Jul 2022 06:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657115692; cv=none; d=google.com; s=arc-20160816; b=XIZ30vsRMCDh9zJZD7pjSbo/c9r9V7kaL2V+RFJLIJ4tOd8evvw55lH1ImcUnYaXE/ +5+JKKBQncKflfVKDVCJWwxMzea4CdaLMhE0PZHC7teBCWnqwXQunzgWLADUyO0oMgyI 0mrFqbUPAsw29D1biR8W640rsqPANzQ0jdXDYhWJhzgXAbFpJA5pUIxuU+n8c1Xq3O2I yOlJtVaTDX649WdPEyKVT6zTYISaKrDZ1Dqfv/xZ6cHX7Kc37F1bT0nN1m19kCSV2pW4 bx7kjrF/2eIyLEOtA1sfx+ynFymE77fxufdqx3W6drDKU6Q00TD486wLvlCVYKFDR0K8 BESw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ce63EBe4Tq2Uux8fPs1Pycd4aTVkng2Wf2+PmZuWupU=; b=vIx76HO4DCN31ZhfsVjUkqjYPU0SPo5CU6VDhVufv5mJ+LifbjHnSsaheZAIwDzLIq tcxPPgMOT5gYbbZ5T/U+OdKqlABSOdt301JHsrH7Z6yf0t8q6viOmUYfVkbIclyui22y hdmuDSu6IvVTJuxTN3SoiEH26BKsI3yEDjfx/FHpHd3NTVI/tXuQj0qrB3mzo8/V0YoP cmRdUil2JKRScPcWFX5W4XzBy74xxlLtwlYJVugQS3ARbVlVxsedjXBPCm1NjeeEA2GL HudhWPMNVc9YtxZh9ov5A34eutFFumPrHh4dV1FlYY5f/91lXl50m3O0/WhRWz1bUE5u vNtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aVRTvSA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ej27-20020a056402369b00b00437749846e0si19465700edb.574.2022.07.06.06.54.27; Wed, 06 Jul 2022 06:54:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=aVRTvSA1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232918AbiGFNGM (ORCPT + 99 others); Wed, 6 Jul 2022 09:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231689AbiGFNGL (ORCPT ); Wed, 6 Jul 2022 09:06:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9F98DEA1; Wed, 6 Jul 2022 06:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ce63EBe4Tq2Uux8fPs1Pycd4aTVkng2Wf2+PmZuWupU=; b=aVRTvSA1UJKof07qjOK7lF85rq ppGLIBe1l5SZn2IR5uT/g6O6COcRr9qIFNhOrUBf7LrdEdykgvsuyBJdvMg9PXyfosj9fpdmXiF0s U4pqKxdd1i3JfD6a0LO1134K4hG10jpzzerJRrDhK4wf7bFmhkzQnGlPcOtwONeG3S9YMeOQvToAw t4XbRh2ZYR6dNR6g/g8rXCkhNwookOWkOJ/BmhtWB2xsbU1eH+WXF0fy2WPVP2oUZFfrJ8j0nZesf vEzBEAnewPuz4t/STSKoITyPDmgZoQYgK5XwnJFfIHZkJougC1UEdEiSEoiXak5OcMlE8SOH1lBD2 MA3zzhRQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1o94jJ-00A9fn-Ln; Wed, 06 Jul 2022 13:06:09 +0000 Date: Wed, 6 Jul 2022 06:06:09 -0700 From: Christoph Hellwig To: Sergei Shtepa Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 18/20] block, blksnap: Kconfig Message-ID: References: <1655135593-1900-1-git-send-email-sergei.shtepa@veeam.com> <1655135593-1900-19-git-send-email-sergei.shtepa@veeam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1655135593-1900-19-git-send-email-sergei.shtepa@veeam.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 13, 2022 at 06:53:11PM +0300, Sergei Shtepa wrote: > +config BLK_SNAP_TRACKING_BLOCK_MINIMUM_SHIFT > + depends on BLK_SNAP > + int "The power of 2 for minimum trackings block size" > +config BLK_SNAP_TRACKING_BLOCK_MAXIMUM_COUNT > + depends on BLK_SNAP > +config BLK_SNAP_CHUNK_MINIMUM_SHIFT > + depends on BLK_SNAP > +config BLK_SNAP_CHUNK_MAXIMUM_COUNT > + depends on BLK_SNAP > + int "The limit of the maximum number of snapshots chunks" ... Is there any good reason for these to be compile options vs runtime settings? > +config BLK_SNAP_DEBUG_MEMORY_LEAK > + depends on BLK_SNAP > + bool "Enable memory leak detector" > + default n > + help > + Enables debugging code to monitor memory consumption by the module. Is there any advantage in this over kmemleak and friends?