Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6274089rwd; Mon, 5 Jun 2023 16:05:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4dwD32eIRHBcLJGQlsbGT6kdXxbQsz05n1YDC05B7Hxg1u8sYWTw/GQj3txvo+eA2GdiuP X-Received: by 2002:ad4:5bcf:0:b0:626:7e5:ddc5 with SMTP id t15-20020ad45bcf000000b0062607e5ddc5mr549162qvt.16.1686006302290; Mon, 05 Jun 2023 16:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686006302; cv=none; d=google.com; s=arc-20160816; b=yPhPIJw51jAy42XS4Jl7L6X92pIFyvGehR/jLHQh1x5IW4IxtEBCPjQiU7T5KhDqsP 8TwzHWFnuT/Go+nO26NytdPYE7tz0OV/uZXu5tmAB3tpmxQWOb8TN432dgaJEXYapuPy 8VXWRkeRg5SuSh9/YRwg2K/alQoIsmK6ZUX+b2cHXcvRRvyGyqgIh6AOlah+c3E87Ojb CheocoFXjyWT9YOxI6nfoaF8eAD+/JL0pnM4r0rHpKI+N2mfDLsQIt4nwG6fqEYBRl+P i/JII6dBFnIalT57fpWs5fjyyyUZWgrMmHlpIuUKEBSwH7z0/suTrdRg2e29e/h7VsUS z3bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=5PldYtjQD5bI94wU78rZshfAstwMA8IHK5qMLh+nxBk=; b=LPHs0WnbD9tLiTFyPQYZsWUH4YGo8Iu13LvFtzggAx6rLQa0aBLyJP8rp6I/q4aKIe 3K3XFuZCOjfv6CCL5Ru5NqiRRp4H2NNOOVDLPdxfOusb2TIJ1SGgRln7ROjFpPrVSx4d uPATh+siKNxClpideH+YzFthjrdbUAhBGFN3lMt35cfApI/tivg0B1LDsLFBksySj3vS xAamvEtJsuZ7jcZNrMl/AV4lrPaqws1FA1qOWSqvpWoHJwjBnQZm7vFToQPBKZz2vWxN oILUO4tGjbmTgvlfSq6BY0wXrIbyqYrkkxRVTY4XhVkjLDQY/f32dTK6Udg+IglpWfEg XmXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NtrrsbxN; 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 d8-20020a05620a158800b0075b220479adsi5218475qkk.117.2023.06.05.16.04.39; Mon, 05 Jun 2023 16:05:02 -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=NtrrsbxN; 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 S231803AbjFEWmE (ORCPT + 99 others); Mon, 5 Jun 2023 18:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231929AbjFEWmC (ORCPT ); Mon, 5 Jun 2023 18:42:02 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97A2110A; Mon, 5 Jun 2023 15:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=5PldYtjQD5bI94wU78rZshfAstwMA8IHK5qMLh+nxBk=; b=NtrrsbxNV5Sim/2CROqVDyMpv0 FhIiaRIPqxZD4cRB3iDz7IeJNsY89mP18YuIlLADTz1fz77UzWxtIrVclLDfLqDS9GvOzYcZ1k+Qt BW2asj6eHSnWn/Mwaoakq7tkvchXyfZYT1kA06mmhUaVmsWOwDj7+HJd0sFZpRsAZEviLf7kKY+ZD 9agQPAIkJJOtyN+7GcxYr8Fv4qRWZxh49UernBwNUtJsRRVK3c9InR0b/rf6OZmAjk3vvodnDnCNU T2Dmxz8EpfKkMuaf3mJwkpVGEyzYJmPCoPO7EEVt8D1Z5tV0NF/75Tr82GY3IfoDH59kObvao4CpO /1nWTTng==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q6Ith-00H2ew-2H; Mon, 05 Jun 2023 22:41:57 +0000 Message-ID: <17f2f270-abff-8db7-c91e-bece1a61254a@infradead.org> Date: Mon, 5 Jun 2023 15:41:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 5/5] block: CONFIG_BLK_DEBUG Content-Language: en-US To: Kent Overstreet , axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org References: <20230605212717.2570570-1-kent.overstreet@linux.dev> <20230605212717.2570570-5-kent.overstreet@linux.dev> From: Randy Dunlap In-Reply-To: <20230605212717.2570570-5-kent.overstreet@linux.dev> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 Hi, On 6/5/23 14:27, Kent Overstreet wrote: > diff --git a/block/Kconfig b/block/Kconfig > index 86122e459f..611dddb59c 100644 > --- a/block/Kconfig > +++ b/block/Kconfig > @@ -165,6 +165,13 @@ config BLK_CGROUP_IOPRIO > scheduler and block devices process requests. Only some I/O schedulers > and some block devices support I/O priorities. > > +config BLK_DEBUG > + bool "Extra block layer assertions" > + depends on DEBUG_KERNEL > + help > + Enable extra assertions in the block layer. Currently this is just the > + bio iterator code, but may be expanded. I see that block/Kconfig isn't consistent about indenting help text, but Documentation/process/coding-style.rst says: 10) Kconfig configuration files ------------------------------- For all of the Kconfig* configuration files throughout the source tree, the indentation is somewhat different. Lines under a ``config`` definition are indented with one tab, while help text is indented an additional two spaces. so please add 2 spaces after the tab at the beginning of the help text lines (but not the "help" line itself). -- ~Randy