This commit was generated by cvs2svn to compensate for changes in r632,
[linux-2.6.git] / drivers / md / dm-log.h
index ced4eba..5ae5309 100644 (file)
@@ -39,7 +39,7 @@ struct dirty_log_type {
         * Retrieves the smallest size of region that the log can
         * deal with.
         */
-       sector_t (*get_region_size)(struct dirty_log *log);
+       uint32_t (*get_region_size)(struct dirty_log *log);
 
         /*
         * A predicate to say whether a region is clean or not.
@@ -101,6 +101,12 @@ struct dirty_log_type {
         * Returns the number of regions that are in sync.
          */
         region_t (*get_sync_count)(struct dirty_log *log);
+
+       /*
+        * Support function for mirror status requests.
+        */
+       int (*status)(struct dirty_log *log, status_type_t status_type,
+                     char *result, unsigned int maxlen);
 };
 
 int dm_register_dirty_log_type(struct dirty_log_type *type);