Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1099344imm; Thu, 31 May 2018 15:27:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLpuobMwT50DPwE8qkLydCC1hohrQvfC0AJmsuh/VAtWeKhfQvwL+u7N2+AjI1MeZ7nHw+Z X-Received: by 2002:a63:7804:: with SMTP id t4-v6mr7025773pgc.323.1527805676861; Thu, 31 May 2018 15:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527805676; cv=none; d=google.com; s=arc-20160816; b=cOC1FsbXwVZjZp4PP7c0yb1QclZg6Fndj4yRAWZyKsMZb2SibjpzVksanUiWs3oJFn bTnm/sLyvxcvZXDGjGaly4xBzCrMNntLgXI275d2ArvI6uzy2eT6ed24brqEcvjIY34/ mj5WcoClelm8j5r+Zx/tA44f+1s5wOSLsymsgLUJMgRjSs332Fe0bz9l5aQjUdNJ+LJn +Lfpy+6J8OnGpZFJ737PbrJLGTYYrjD7abSyXt5qPXkz0o4CRer0ePrztdT+tgi8jQBU teWn2snXRlF6BGcigXvuIyh27hVw6+9c8W0m7JOJTC3I0yMuvzd6PXO+B8vUufSERZMH hGwg== 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:dkim-signature:arc-authentication-results; bh=Smv8FzJ3gQEVR7k61MhHDqTK25gdQQFaASkpzyEoAr0=; b=Wgr1KzAqYhGTxawP7Aaf0B4LsMTSTGpQALs+/y6foLvztSnC8uKMMjThg8ZkPDrG88 uxRUrUQLMBKfSuMPb/1F97mFaGSWdGS+0Wz2B/7L0Xp6d1QamzouaUFo3EzFi1hWvgi8 bEI0WvIuQZO5J7TMPksaXzWhtSBE0csZjGVaNmVipLlgNOw/3aRJCFZfDytYtGQpm6A8 GqLy1yIqJUPto6a8H4DYVFn4NUiDKvoSilkMSzkxk8V1AwT9V8bos86DmlyjniChVT80 zABVR6b2C0+qw7QWr0QqKMJKmCXepTVHQs5qSfRjLpIUGLfmIVIJc64M15cdbxqRQqqx BzNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=WBKB3DnW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1-v6si36842625pld.152.2018.05.31.15.27.41; Thu, 31 May 2018 15:27:56 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=WBKB3DnW; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750964AbeEaW1M (ORCPT + 99 others); Thu, 31 May 2018 18:27:12 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:55082 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740AbeEaW1J (ORCPT ); Thu, 31 May 2018 18:27:09 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4VMQnlW107227; Thu, 31 May 2018 22:26:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=Smv8FzJ3gQEVR7k61MhHDqTK25gdQQFaASkpzyEoAr0=; b=WBKB3DnW47WqPNDevL6yBgvFgIHDFrCxJvN9reuxaQUzu7gCwyEHNWyhD9m3Stos1z65 mjxDnz3yjWZQ3WFRIOmplgdtuf54Dssb5cnMPGtwSULy+322XmtRSRZJjrhr/0IwtK0W IRosuDxIQbMO1LmG/eK9mwlM6YaQ+Asy/Jy6YeAV9wWA5BS4LLf95z1XHnKNhpewrvtM 5WUwUNvgBUgg1qq1WyLNizMFMfRfyGFdDZEfEsj0eH6s8sWgaguUKqD7D4uykHh+D014 R4yBWXuJGKvPCefLhfH2Afhiz9mQ7GC0XsKOlx/Mpjo1kAbjUK/Z6+sIbzOstsM8hXYe cA== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2janje13q3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 31 May 2018 22:26:52 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4VMQqMS016284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 31 May 2018 22:26:52 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w4VMQoYJ000473; Thu, 31 May 2018 22:26:51 GMT Received: from localhost (/10.145.179.122) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 31 May 2018 15:26:50 -0700 Date: Thu, 31 May 2018 15:26:45 -0700 From: "Darrick J. Wong" To: Mike Snitzer Cc: Dave Jiang , Toshi Kani , linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, dm-devel@redhat.com, linux-fsdevel@vger.kernel.org, Ross Zwisler Subject: Re: [dm-devel] [PATCH v2 2/7] dax: change bdev_dax_supported() to support boolean returns Message-ID: <20180531222645.GA6086@magnolia> 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> <20180531205206.GA12681@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180531205206.GA12681@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8910 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805310248 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 04:52:06PM -0400, Mike Snitzer wrote: > 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. Sorted. It'll be in Friday's for-next. Ross helped me bang on the pmem devices w/ ndctl to enable fsdax mode and twist qemu until everything worked properly. ;) --D > I'm unlikely to get to reviewing the DM patches in this series until > tomorrow at the earliest. > > Mike > > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel