[dm-devel] [high-level] user-space access to dm target?

Peter Desnoyers pjd at ccs.neu.edu
Wed Aug 3 21:46:08 UTC 2016


We’re developing an SMR translation layer in a device mapper target, and we’d like to keep a lot of the complexity (recovery at startup, parts of the garbage collection algorithm) in user space.

I was wondering what people’s thoughts are on the best strategy for the user/kernel interface here?

We’re currently doing something quite gross - using a /proc file with a simple protocol based on reading and writing fixed-sized binary messages. For our purposes this works fairly well, but clearly we need something cleaner if we want this to go anywhere.

Thanks,
.....................................................................
 Peter Desnoyers                                  pjd at ccs.neu.edu
 Northeastern Computer & Information Science      (617) 373-8683





More information about the dm-devel mailing list