[Cc list trimmed as this is more of a focused technical issue] On Wednesday June 3, aia21@xxxxxxxxx wrote: > Hi Neil, > > Is there any documentation for the interface between mdadm and a > metadata format "module" (if I can call it that way)? > > What I mean is: where would one start if one wanted to add a new > metadata format to mdadm? You would start looking in mdadm.h at the "struct superswitch". This lists a both of inter points for the metadata module. The intent of some should be obvious from the name. Others come with a little bit of documentation. I'd be very happy to flesh this documentation out now that the interface has (hopefully) stablised. If you could help by asking focussed questions that I could answer by improving the comments, that would be a big help. > > Or is the only documentation the source code to mdadm? The final arbiter is certainly the source code, and I often have to check the actual call patterns myself to be sure. But I think it is time to start tidying this up. Thanks, NeilBrown > > Thanks a lot in advance! > > Best regards, > > Anton > -- > Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) > Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK > Linux NTFS maintainer, http://www.linux-ntfs.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html