multipath_metadata_encode
multipath_metadata_encode(&md, sector);
multipath_metadata_encode(md, buf);
multipath_metadata_encode(const struct g_multipath_metadata *, u_char *);