Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3956274imm; Mon, 18 Jun 2018 06:58:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKsVDYHu1sHg9WZN70AQVdZCkZT+KSFBdGlBc+UOgxk/EEgw3lB5H3RxniFJUwiu+WrQrbM X-Received: by 2002:a62:211a:: with SMTP id h26-v6mr13658269pfh.133.1529330321886; Mon, 18 Jun 2018 06:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529330321; cv=none; d=google.com; s=arc-20160816; b=AgJP0As1j1fDj8bCsqgiaR4Hi0aVictOzfpbY1AaKD5Rn8c1xkW+dX5O4Qm8dAQL10 +NiA0AjhWAkdx3KJZ2gOU0uxUridCqIwJqvvm8XPaWym+PL/ZNAW2j5D51bz/pxwVhFn Zv0LHU4TFmTrExnu6Lfu53Eubc2K9oTaLwT9zR6mGpxS/4w/4rrJfAnuyEVZZ6qEo1j6 ihb0ONB7S0zlEXRSFh0XMlhMZ3bFV6ZPzamvaI3aU8C7c5E+B7gacftrg2kSWVGdGBIQ gicq3CY5KXXdq2qJxy8pEJqNjDXP5OtMKysHOREdSAPQo0E0H1CiLPimkjgNvllOAXDR RQNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=CgTL/89cBZF/zKfEITwguWMCDFWiCUFxiwcKDULfqrk=; b=NjcrCNchnAF8nDYYtBCjvskRYlEifUS6hwQZirbEAt0N5+EkZQy8WwkC2xifTvMxBr EbFt6NJDhvOGFd8vcI4CV5AHFi7yum+xtGDTLjUclm6J1HDYLfxlJmp2os15ds8HqyAT RWj/qJEqrJBoq7JQM+a0q8WURM64GpSXZ5MVMJmmhVbpV6rhm17HKuzgQT+d04NHEVK2 odE89IQVaIiagx/viOXHyhJKfzoHCZNSdHKbQAJhz9cwd2fb/1YY1H3Cs4fjq+qpkTr2 310qmccnlnQt5PCpaiKwp1zRieN2yAGHqtBUPME2uYv5txnnPWH9FkBI9FoPuG2qaR0G /OEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si13732737pfl.133.2018.06.18.06.58.27; Mon, 18 Jun 2018 06:58:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933524AbeFRN5r (ORCPT + 99 others); Mon, 18 Jun 2018 09:57:47 -0400 Received: from mga01.intel.com ([192.55.52.88]:22295 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754315AbeFRN5p (ORCPT ); Mon, 18 Jun 2018 09:57:45 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2018 06:57:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,239,1526367600"; d="scan'208";a="50228685" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga008.jf.intel.com with ESMTP; 18 Jun 2018 06:57:42 -0700 Message-ID: <49e96a4ecb3566139bef0b36093143077ceafd3f.camel@linux.intel.com> Subject: Re: [PATCH v3 1/5] md: Avoid namespace collision with bitmap API From: Andy Shevchenko To: Mike Snitzer Cc: Alasdair Kergon , dm-devel@redhat.com, Shaohua Li , linux-raid@vger.kernel.org, Dmitry Torokhov , linux-input@vger.kernel.org, Andrew Morton , Yury Norov , linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, Joe Perches Date: Mon, 18 Jun 2018 16:57:41 +0300 In-Reply-To: <20180618134454.GA25547@redhat.com> References: <20180618131003.88110-1-andriy.shevchenko@linux.intel.com> <20180618131003.88110-2-andriy.shevchenko@linux.intel.com> <20180618134454.GA25547@redhat.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-06-18 at 09:44 -0400, Mike Snitzer wrote: > On Mon, Jun 18 2018 at 9:09am -0400, > Andy Shevchenko wrote: > > > bitmap API (include/linux/bitmap.h) has 'bitmap' prefix for its > > methods. > > > > On the other hand MD bitmap API is special case. > > Adding 'md' prefix to it to avoid name space collision. > > > > No functional changes intended. > > > > Signed-off-by: Andy Shevchenko > > --- > > drivers/md/dm-raid.c | 6 +- > > drivers/md/md-bitmap.c | 301 +++++++++---- > > ----- > > drivers/md/md-bitmap.h | 46 +-- > > drivers/md/md-cluster.c | 16 +- > > drivers/md/md.c | 44 +-- > > .../md/persistent-data/dm-space-map-common.c | 12 +- > > drivers/md/raid1.c | 20 +- > > drivers/md/raid10.c | 26 +- > > drivers/md/raid5-cache.c | 2 +- > > drivers/md/raid5.c | 24 +- > > 10 files changed, 244 insertions(+), 253 deletions(-) > > Seems my previous mail just missed your v3 cutoff but... > > > > All of these drivers/md/persistent-data/dm-space-map-common.c renames > are wrong. So, let me understand this clear, the naming problem appears in one file only. The rest is fine. Correct? > DM is the only consumer (it is confusing because all DM and > MD code lives in drivers/md/ despite only sharing a bit of MD code). > > Anyway, please rename bitmap methods in this file to have a > "dm_bitmap" > prefix instead. Thanks. Ah, okay, will do this in v4 later this week. Thanks for review! -- Andy Shevchenko Intel Finland Oy