From patchwork Thu May 14 06:09:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 11547981 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0EA26139A for ; Thu, 14 May 2020 06:09:58 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9517206D4 for ; Thu, 14 May 2020 06:09:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PcXi4DXq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B9517206D4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589436596; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=2ytNujYWhRtWwnamJdZvwKhoi9Fg/e0XZ7VhyKkdrf8=; b=PcXi4DXqgoll/4R3lnz4ENGN+pAk27F8xePTMtZXfgdmOlD1uOh202UlZKSgJS62cEsg0s Yp6ds182OnKdIdY66tudtUCx3S3swoN/2NRiNxAED5jeROtn3b8aGqd7iAuodBVOAzvg0z Bj7NuxPQoLTap1OIeEPJLRMl/coVL+0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-427-lIkwrZ-ZNweexCTRAvjSDw-1; Thu, 14 May 2020 02:09:55 -0400 X-MC-Unique: lIkwrZ-ZNweexCTRAvjSDw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70733835B58; Thu, 14 May 2020 06:09:50 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 401DC619B1; Thu, 14 May 2020 06:09:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id A784F4E588; Thu, 14 May 2020 06:09:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04E69ltn028255 for ; Thu, 14 May 2020 02:09:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8F24A106B450; Thu, 14 May 2020 06:09:47 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7E103106B448 for ; Thu, 14 May 2020 06:09:41 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 64E3F8001E4 for ; Thu, 14 May 2020 06:09:40 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-175-XL5LeEWMPsClENVQy-GzPA-1; Thu, 14 May 2020 02:09:35 -0400 X-MC-Unique: XL5LeEWMPsClENVQy-GzPA-1 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 03163AD63; Thu, 14 May 2020 06:09:36 +0000 (UTC) From: Hannes Reinecke To: Mike Snitzer Date: Thu, 14 May 2020 08:09:27 +0200 Message-Id: <20200514060929.85469-1-hare@suse.de> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: dm-devel@redhat.com Cc: Damien LeMoal , dm-devel@redhat.com Subject: [dm-devel] [PATCHv2 0/2] device-mapper: use dynamic debug X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Hi all, here's an updated version of my earlier patch to switch to dynamic debug instead of using a compile-time option. I've modified the initial patch as suggested by Mike, and also fixed up stray newlines which had crept in with some debugging messages in dm-zoned. Hannes Reinecke (2): device-mapper: use dynamic debug instead of compile-time config option dm-zoned: remove spurious newlines from debugging messages drivers/md/dm-zoned-reclaim.c | 4 ++-- drivers/md/dm-zoned-target.c | 4 ++-- include/linux/device-mapper.h | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-)