From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcFWVLf (ORCPT ); Thu, 23 Jun 2016 17:11:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49890 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751476AbcFWVLd (ORCPT ); Thu, 23 Jun 2016 17:11:33 -0400 Date: Thu, 23 Jun 2016 17:11:32 -0400 From: Mike Snitzer To: "Kani, Toshimitsu" Cc: "yigal@plexistor.com" , "axboe@kernel.dk" , "linux-s390@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "heiko.carstens@de.ibm.com" , "linux-kernel@vger.kernel.org" , "linux-raid@vger.kernel.org" , "dm-devel@redhat.com" , "viro@zeniv.linux.org.uk" , "schwidefsky@de.ibm.com" , "dan.j.williams@intel.com" , "agk@redhat.com" Subject: Re: [PATCH v2 1/3] block: add QUEUE_FLAG_DAX for devices to advertise their DAX support Message-ID: <20160623211131.GA9163@redhat.com> References: <1466639694-25394-1-git-send-email-toshi.kani@hpe.com> <1466639694-25394-2-git-send-email-toshi.kani@hpe.com> <1466702773.3504.363.camel@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1466702773.3504.363.camel@hpe.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 23 Jun 2016 21:11:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 23 2016 at 1:36pm -0400, Kani, Toshimitsu wrote: > On Thu, 2016-06-23 at 19:31 +0300, Yigal Korman wrote: > > On Thu, Jun 23, 2016 at 2:54 AM, Toshi Kani wrote: > > > > > > > > > Currently, presence of direct_access() in block_device_operations > > > indicates support of DAX on its block device.  Because > > > block_device_operations is instantiated with 'const', this DAX > > > capablity may not be enabled conditinally. > > > > > > In preparation for supporting DAX to device-mapper devices, add > > > QUEUE_FLAG_DAX to request_queue flags to advertise their DAX > > > support.  This will allow to set the DAX capability based on how > > > mapped device is composed. > > > > Hi Toshi, > > This patch is very helpful! > > I think QUEUE_FLAG_DAX can also help with identifying dax devices in > > userspace. > > Perhaps you'd be willing to squash the patch below with this one or > > add it to your submission? > > Hi Yigal, > > Good idea.  Mike can probably take it into his tree, but I will include it > into the series if I needed to submit v3. > > Acked-by: Toshi Kani As you can see I sent out v3 of this set. Jens will need to pick up the "block:" patches but I'll pick up the DM patches once Jens does so.