]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device-mapper.h
dm: support barriers on simple devices
[linux-2.6-omap-h63xx.git] / include / linux / device-mapper.h
index c1ba76c7c0e538f8f8804beb77231c78f45d6c58..8209e08969f9e4265e4fbbcd0c00b5a68467cad5 100644 (file)
@@ -112,7 +112,14 @@ void dm_put_device(struct dm_target *ti, struct dm_dev *d);
 /*
  * Information about a target type
  */
+
+/*
+ * Target features
+ */
+#define DM_TARGET_SUPPORTS_BARRIERS 0x00000001
+
 struct target_type {
+       uint64_t features;
        const char *name;
        struct module *module;
        unsigned version[3];