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                                  [email protected]
 Northeastern Computer & Information Science      (617) 373-8683


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to