Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3842787imm; Tue, 29 May 2018 15:03:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKhbltNjYuwm2n+1eUBF2/yUYpDmpgQp6QS1GuZrbCMEchl7eofhR1Jap923zsEDVFt+LGL X-Received: by 2002:a17:902:b409:: with SMTP id x9-v6mr199841plr.180.1527631392875; Tue, 29 May 2018 15:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527631392; cv=none; d=google.com; s=arc-20160816; b=LkGuPLXC05BHKrJIBefhQwtWND/Yo4K32N1QQjZoRIe+tXcMv6r10T7cL7rO4uYBKO Z/sRPAqIpn3tbV8bFsDIYHld6yAAGA86UUXDF+rhw52GMZ5PW5+zCO9TWWTJZOLcgTAi 0PiweWy5H2K9tO69JXoMs2xrIp9IzWw2aOeNtMfg6B5u3Q0lsGYp5OsWwxSCwPGy9ybN vP0/Xmmpa9KkPaeeSe5ePyErOPWcroeVroDvQuulkEn92QJXHHf7A9EFLOXkkFEeAeQ9 8CQa8PoE6XpXFwxhT8ByEUslJ3zNpEqf9mf1ZIMFbLQWR+T3zIT16FuyKq2O1Gz4+Bm1 9jIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=HGA08dhrgWIzhl7Pz3XBZ5/goaPNlc8Xl7/lkJsoZlw=; b=CID+J82FVgWFwG+6ydCJPmri7jk7SouXg4oT3g4o20sKYYbab8kw+fPtnNn1qdtiIp 0dtvb+6DvOaKAJkVFEQflRd6zqsLxe+Rxxkj1HZNsY6chQH+pzgqaRErhMfi+CoR8QSR Lgz2Xbw20O/e0dq7bN4zkRmU3BxNxAIANeX+GOYDH/0Yxjpr5IE84hT08ZKFFfRs2ITP nK8knJ/EurzBvIP4FQc3DfMQBXwbNn/moQMcNE079/dptl8fdvoLxl+vE7N3XZ5VVETi 2sA5sv4Upga8+zW3qg0gsrjQuZXeHLclPZzVCm+wyqTQICvt6AD2CB+MgteZlO26qd42 HTiA== 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 j123-v6si34796704pfd.207.2018.05.29.15.02.58; Tue, 29 May 2018 15:03:12 -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 S967621AbeE2WBS (ORCPT + 99 others); Tue, 29 May 2018 18:01:18 -0400 Received: from mga12.intel.com ([192.55.52.136]:62286 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967368AbeE2WBP (ORCPT ); Tue, 29 May 2018 18:01:15 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2018 15:01:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,458,1520924400"; d="scan'208";a="43149773" Received: from theros.lm.intel.com (HELO linux.intel.com) ([10.232.112.164]) by fmsmga007.fm.intel.com with ESMTP; 29 May 2018 15:01:14 -0700 Date: Tue, 29 May 2018 16:01:14 -0600 From: Ross Zwisler To: "Darrick J. Wong" Cc: Ross Zwisler , Toshi Kani , Mike Snitzer , dm-devel@redhat.com, Dave Jiang , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, linux-xfs@vger.kernel.org Subject: Re: [PATCH v2 2/7] dax: change bdev_dax_supported() to support boolean returns Message-ID: <20180529220114.GA13948@linux.intel.com> Mail-Followup-To: Ross Zwisler , "Darrick J. Wong" , Toshi Kani , Mike Snitzer , dm-devel@redhat.com, Dave Jiang , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, linux-xfs@vger.kernel.org References: <20180529195106.14268-1-ross.zwisler@linux.intel.com> <20180529195106.14268-3-ross.zwisler@linux.intel.com> <20180529212510.GJ30110@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529212510.GJ30110@magnolia> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 02:25:10PM -0700, Darrick J. Wong wrote: > On Tue, May 29, 2018 at 01:51:01PM -0600, Ross Zwisler wrote: > > From: Dave Jiang > > > > The function return values are confusing with the way the function is > > named. We expect a true or false return value but it actually returns > > 0/-errno. This makes the code very confusing. Changing the return values > > to return a bool where if DAX is supported then return true and no DAX > > support returns false. > > > > Signed-off-by: Dave Jiang > > Signed-off-by: Ross Zwisler > > Looks ok, do you want me to pull the first two patches through the xfs > tree? > > Reviewed-by: Darrick J. Wong Thanks for the review. I'm not sure what's best. If you do that then Mike will need to have a DM branch for the rest of the series based on your stable commits, yea? Mike what would you prefer?