sched/tune: add initial support for CGroups based boosting
[firefly-linux-kernel-4.4.55.git] / include / linux / device-mapper.h
index 899ab9f8549e2bd489f36db0c47c855e5c92e19d..b874d5b61ffce6eefcc9dfbaef4ab907dac3d735 100644 (file)
@@ -382,6 +382,12 @@ void dm_put(struct mapped_device *md);
 void dm_set_mdptr(struct mapped_device *md, void *ptr);
 void *dm_get_mdptr(struct mapped_device *md);
 
+/*
+ * Export the device via the ioctl interface (uses mdptr).
+ */
+int dm_ioctl_export(struct mapped_device *md, const char *name,
+                   const char *uuid);
+
 /*
  * A device can still be used while suspended, but I/O is deferred.
  */