sys/dev/disk/dm: Cleanups* Fix comments.* Add a blank line between functions.* Some minor fixes on dm core.
sys/dev/disk/dm: Whitespace cleanups
sys/dev/disk/dm: Fix comments and doc/proposal-dm.txtThese have been wrong prior to the last two commits.
sys/dev/disk/dm: Change pdev SLIST to TAILQTAILQ is more flexible and better for what it's trying to do.
sys/dev/disk/dm: Change table SLIST to TAILQTAILQ is more flexible and better for what it's trying to do.
sys/dev/disk/dm: Rename variablestruct dm_dev *dm_dev;is just confusing.From the way other struct dm_dev type variables are named,it should be either dev or dmv, and those two should probablyb
sys/dev/disk/dm: Rename variablestruct dm_dev *dm_dev;is just confusing.From the way other struct dm_dev type variables are named,it should be either dev or dmv, and those two should probablybe either but not both. Same for struct dm_pdev.
show more ...
dm - Modularize it fully* Move each of the targets (except error and zero) into a subdirectory in targets/.* Change the macro DM_TARGET_MODULE to also let the module depend on dm.* Add a new
dm - Modularize it fully* Move each of the targets (except error and zero) into a subdirectory in targets/.* Change the macro DM_TARGET_MODULE to also let the module depend on dm.* Add a new macro DM_TARGET_BUILTIN, which must be used instead of DM_TARGET_MODULE for targets that are compiled into the main dm.ko instead of a separate module. Not doing this will prevent dm.ko from unloading.* Enable automatic loading of target modules if they aren't builtin or loaded yet. Automatically loaded modules can be unloaded via kldunload safely via a little hack (see source).* NOTE: automatic loading doesn't always work. /boot must be mounted already, so if you are planning on encrypting your swap or similar stuff, you need to *EXPLICITLY* load dm_target_crypt.ko via the loader.* NOTE: PLEASE NOTE THE NOTE ABOVE!* Fix a little issue with dm_target_crypt that would print "unloaded" even if it wouldn't unload.* Change the name of dm_target_stripe to dm_target_striped, since the target is actually called "striped".* Move dm.h to sys/sys/dm.h* Get rid of files.dm, a leftover from the import
dm - Import verbatim from NetBSD