Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628862

Re: [resend PATCH v2 11/33] dm: add dax_device and dax_operations support

From Mike Snitzer <snitzer@redhat.com>
Newsgroups linux.kernel
Subject Re: [resend PATCH v2 11/33] dm: add dax_device and dax_operations support
Date 2017-04-22 17:50 +0200
Message-ID <tz5sm-4Ew-9@gated-at.bofh.it> (permalink)
References <txklP-4zD-3@gated-at.bofh.it> <txklQ-4zD-7@gated-at.bofh.it> <tynhE-2OS-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 20 2017 at 12:30pm -0400,
Dan Williams <dan.j.williams@intel.com> wrote:

> On Mon, Apr 17, 2017 at 12:09 PM, Dan Williams <dan.j.williams@intel.com> wrote:
> > Allocate a dax_device to represent the capacity of a device-mapper
> > instance. Provide a ->direct_access() method via the new dax_operations
> > indirection that mirrors the functionality of the current direct_access
> > support via block_device_operations.  Once fs/dax.c has been converted
> > to use dax_operations the old dm_blk_direct_access() will be removed.
> >
> > A new helper dm_dax_get_live_target() is introduced to separate some of
> > the dm-specifics from the direct_access implementation.
> >
> > This enabling is only for the top-level dm representation to upper
> > layers. Converting target direct_access implementations is deferred to a
> > separate patch.
> >
> > Cc: Toshi Kani <toshi.kani@hpe.com>
> > Cc: Mike Snitzer <snitzer@redhat.com>
> 
> Hi Mike,
> 
> Any concerns with these dax_device and dax_operations changes to
> device-mapper for the upcoming merge window?

Sorry for the delay.

I just reviewed them, overall looks good.  The enabling functions in the
DAX code, that are mixed in with the DM changes, could maybe be factored
out into separate earlier patches but I don't feel that strongly about
that.

Feel free to add this tag to the handful of relevant DM patches:

Reviewed-by: Mike Snitzer <snitzer@redhat.com>

I haven't done a merge with the linux-dm.git 'dm-4.12' branch but it'd
be good to verify there aren't any merge conflicts.  If there are then
it'd be nice to know going in to the merge so that we can forecast as
much to Linus.

I really appreciate you doing this work!

Thanks,
Mike

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[resend PATCH v2 11/33] dm: add dax_device and dax_operations  support Dan Williams <dan.j.williams@intel.com> - 2017-04-17 21:20 +0200
  Re: [resend PATCH v2 11/33] dm: add dax_device and dax_operations support Dan Williams <dan.j.williams@intel.com> - 2017-04-20 18:40 +0200
    Re: [resend PATCH v2 11/33] dm: add dax_device and dax_operations  support Mike Snitzer <snitzer@redhat.com> - 2017-04-22 17:50 +0200

csiph-web