[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3ade435ef087d61a293863a62c1b794ecf8dba14.camel@suse.de>
Date: Wed, 14 Nov 2018 11:36:31 +0100
From: Martin Wilck <mwilck@...e.de>
To: Hannes Reinecke <hare@...e.de>, Sagi Grimberg <sagi@...mberg.me>,
Keith Busch <keith.busch@...el.com>, axboe@...nel.dk,
hch@....de, Mike Snitzer <snitzer@...hat.com>
Cc: xose.vazquez@...il.com, chengjike.cheng@...wei.com,
lijie <lijie34@...wei.com>, shenhong09@...wei.com,
wangzhoumengjian@...wei.com, linux-nvme@...ts.infradead.org,
sschremm@...app.com, dm-devel@...hat.com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [dm-devel] multipath-tools: add ANA support for NVMe device
On Wed, 2018-11-14 at 08:49 +0100, Hannes Reinecke wrote:
> On 11/14/18 6:38 AM, Mike Snitzer wrote:
> >
> > Not holding my breath BUT:
> > if decoupling the reading of ANA state from native NVMe
> > multipathing
> > specific work during nvme request completion were an acceptable
> > advancement I'd gladly do the work.
> >
> I'd be happy to work on that, given that we'll have to have 'real'
> ANA
> support for device-mapper anyway for SLE12 SP4 etc.
So, what's the way ahead for multipath-tools?
Given that, IIUC, at least one official kernel (4.19) has been released
with ANA support but without the ANA sysfs attributes exported to user
space, multipath-tools can't rely on them being present. I for one have
no issue with copying code from nvme-cli and doing NVMe ioctls from
multipath-tools, as in Lijie's patch. When those sysfs attributes are
added (and work as expected), we will use them, but IMO we'll need to
fall back to ioctls until then, and also afterwards, because we can't
assume to be always running on the latest kernel.
Best,
Martin
Powered by blists - more mailing lists