PMEM, DAX, MTD, and the quest for the Theory of Everything
Jared Hulbert
jaredeh at gmail.com
Mon Jan 25 17:10:19 PST 2016
I'm not seeing any traffic connecting MTD, PMEM, and DAX. Any
discussions I should be aware of?
MTD devices like SPI-NOR and the inevitable spillover into the
embedded market of 3D Xpoint and similar technologies are excluded
from the DAX game. Considering all the years we spent playing with
XIP in MTD... well that's what happens when you disengage for
several years.
A few thoughts...
#1 - MTD provides various ways to partition memory semantic devices as
reprogramable ROMs for storage of bootloaders, kernel, rootfs images,
etc. Does PMEM have anything to learn from this? Or does the MTD
layer have an opportunity to gain something by using PMEM standards?
#2 - MTD has had an API that allowed direct access (see point() in
struct mtd_info) and block-ish semantic access of persistent memory
devices since, I dunno, before bitkeeper? Can we hook this up with
DAX? Read Only should be "trivial" especially if someone else does
it. :)
#3 - There has long been a desire to merge MTD with the block
subsystem with some members of the MTD community. PMEM seems to
create a precedent for a block interface on a device that isn't
fundamentally block based. Also the direct_access() in block has been
legitimized with the recent DAX stuff. Is it time now?
My vision here is to enable Read-Only DAX images of EXT4, AXFS, PRAMFS
on ROM/NOR devices in a standard DAX way.
Thoughts?
More information about the linux-mtd
mailing list