All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] dax, dm: stop requiring dax for device-mapper
@ 2017-11-29 18:59 ` Dan Williams
  0 siblings, 0 replies; 16+ messages in thread
From: Dan Williams @ 2017-11-29 18:59 UTC (permalink / raw)
  To: snitzer-H+wXaHxf7aLQT0dZR+AlfA
  Cc: kbuild test robot, linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw,
	Michael Ellerman, Heiko Carstens, Bart Van Assche,
	dm-devel-H+wXaHxf7aLQT0dZR+AlfA, Paul Mackerras, Gerald Schaefer,
	Benjamin Herrenschmidt, Martin Schwidefsky, Alasdair Kergon

Changes since v5 [1]:
* Make DAX_DRIVER select DAX to simplify the Kconfig dependencies
  (Michael)
* Rebase on 4.15-rc1 and add new IS_ENABLED(CONFIG_DAX_DRIVER) checks in
  drivers/md/dm-log-writes.c.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2017-September/012569.html

---

Hi Mike,

Bart points out that the DAX core is unconditionally enabled if
device-mapper is enabled. Add some config machinery and some
stub/static-inline routines to allow dax infrastructure to be deleted
from device-mapper at compile time.

---

Dan Williams (2):
      dax: introduce CONFIG_DAX_DRIVER
      dm: allow device-mapper to operate without dax support


 arch/powerpc/platforms/Kconfig |    2 -
 drivers/dax/Kconfig            |    5 ++
 drivers/md/Kconfig             |    1 
 drivers/md/dm-linear.c         |    6 +++
 drivers/md/dm-log-writes.c     |   95 +++++++++++++++++++++-------------------
 drivers/md/dm-stripe.c         |    6 +++
 drivers/md/dm.c                |   10 +++-
 drivers/nvdimm/Kconfig         |    2 -
 drivers/s390/block/Kconfig     |    2 -
 include/linux/dax.h            |   30 ++++++++++---
 10 files changed, 99 insertions(+), 60 deletions(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-01-08 16:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-29 18:59 [PATCH v6 0/2] dax, dm: stop requiring dax for device-mapper Dan Williams
2017-11-29 18:59 ` Dan Williams
     [not found] ` <151198199487.7051.7083189934624068090.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-11-29 19:00   ` [PATCH v6 1/2] dax: introduce CONFIG_DAX_DRIVER Dan Williams
2017-11-29 19:00     ` Dan Williams
     [not found]     ` <151198200084.7051.8668235721724414674.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-01-08 16:07       ` Mike Snitzer
2018-01-08 16:07         ` Mike Snitzer
2017-11-29 19:00   ` [PATCH v6 2/2] dm: allow device-mapper to operate without dax support Dan Williams
2017-11-29 19:00     ` Dan Williams
     [not found]     ` <151198200599.7051.6920383092194777505.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2018-01-08 16:08       ` Mike Snitzer
2018-01-08 16:08         ` Mike Snitzer
2018-01-04 18:12 ` [PATCH v6 0/2] dax, dm: stop requiring dax for device-mapper Mike Snitzer
2018-01-04 18:12   ` Mike Snitzer
     [not found]   ` <20180104181202.GA14491-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-07 20:31     ` Dan Williams
2018-01-07 20:31       ` Dan Williams
     [not found]       ` <CAA9_cmd8ywgxwfy6ZDkc1ERfD56L4HbTo7NkS5T1N9m-ZcjgzA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-08 16:06         ` Mike Snitzer
2018-01-08 16:06           ` Mike Snitzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.