[dm-devel] [RFC PATCH 0/6] dm headers(2nd): move headers to include/linux

Heinz Mauelshagen hjm at redhat.com
Thu Mar 6 13:11:39 UTC 2008


Hi Alasdair,

this is a refactored series of 6 patches, which move dm-{io,log}.h and
kcopyd.h to include/linux, renaming the later to dm-kcopyd.h, to better
allow for their interfaces to be sharable beyond the scope of Device-Mapper.

Structure and function identifiers (e.g. io_region -> dm_io_region)
get a "dm_", macros a "DM_" prefix respectively.

Existing callers are adjusted to use the new structure/function/macro names.

The Makefile now generates dm-{io,kcopyd,log} as kmods.

dm_disk(), which belongs to our external interface since long time, is
exported now to allow for future callers to actually be able to access it.

If acceptable, please apply.




More information about the dm-devel mailing list