Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1028556imm; Thu, 31 May 2018 13:53:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLy7B0FJitkUddUSc2jaJu3V19skd55zn3xAVxUXzCxtMJKArHdOGh4EDtP9olxrc3t8qd7 X-Received: by 2002:a62:b03:: with SMTP id t3-v6mr8175421pfi.32.1527799994116; Thu, 31 May 2018 13:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527799994; cv=none; d=google.com; s=arc-20160816; b=FLau0S3ydZCwcYiJwY3iNG7znPgAk9CWh3U+llWI7kLtfC2TuwHsZbfOdhh+CtHbLM xWCmGQIL/KfsY3lG3fpt4ywA93x3dzguoroaYZ1z+ArUbDI/rE5qyvHopFExOnUlFk+M 847ck8c5bKN/zLcqaY6fhZ0qOCi5ytYmF6uYQiYeff8uCpiqNvJr2FqcqZONTohcLWsb AkwPQQVr1EH0SpYsjXkB2BD1wFxwJULkWOB+GMZDqeimT0KZG93WhtY8Yrb2n5mhZNfG l0rlGSF54A1uK2aAzcraURj1+F2KJr6Ib2f9lETEcDGmt2btJP3exvRYb9G9JjzdaK1v tIMA== 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:message-id:subject:cc :to:from:date:arc-authentication-results; bh=N87FNv2dOKKKkt9yIZG0A5DkC/NDaazGzUrUhYZ89Mw=; b=wKT674Hvj1fBjhtE/L5/7UXQXn0IVjXfhZzQqolRYMeJDh5fhBTLajl7XzKvL2S5dW 6rLregxAxiVP9IT/aGo3QcD+FiWt3syKQsJun5rzmE44BJbPsmHNgofX7fw4i1EqGBEl XkIOBb5cmFfSTWCt+sTD+fGGmW5Z/NBbMLSOjUzT8nRb/bb77dVba8Oe8t68yPurO50y m981D8rXiNXaFjIFIpZ8zB/pdr4C+e1bx1ny/J0wCRd/Dnyk8YJMBic3Y9i74ot2Q7A8 zNnwVi1WQ2ANxSWPqxxkxC/kHiAyk/b7iUksIHGbsovCehsvwudpRWe3jDU3slRJ14cd wFwA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f35-v6si36972311plh.193.2018.05.31.13.53.00; Thu, 31 May 2018 13:53:14 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbeEaUwN (ORCPT + 99 others); Thu, 31 May 2018 16:52:13 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44766 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754434AbeEaUwK (ORCPT ); Thu, 31 May 2018 16:52:10 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7D72540BC04F; Thu, 31 May 2018 20:52:09 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D6C23111CA1D; Thu, 31 May 2018 20:52:06 +0000 (UTC) Date: Thu, 31 May 2018 16:52:06 -0400 From: Mike Snitzer To: "Darrick J. Wong" Cc: Ross Zwisler , Toshi Kani , 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: <20180531205206.GA12681@redhat.com> References: <20180529195106.14268-1-ross.zwisler@linux.intel.com> <20180529195106.14268-3-ross.zwisler@linux.intel.com> <20180529212510.GJ30110@magnolia> <20180529220114.GA13948@linux.intel.com> <20180531191332.GB7825@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180531191332.GB7825@magnolia> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 31 May 2018 20:52:09 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 31 May 2018 20:52:09 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msnitzer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31 2018 at 3:13pm -0400, Darrick J. Wong wrote: > On Tue, May 29, 2018 at 04:01:14PM -0600, Ross Zwisler wrote: > > 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? > > I /was/ about to say that I would pull in the first two patches, but now > I can't get xfs to mount with pmem at all, and have no way of testing > this...? Once you get this sorted out, please feel free to pull in the first 2. I'm unlikely to get to reviewing the DM patches in this series until tomorrow at the earliest. Mike