git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
md
/
dm-log.h
diff --git
a/drivers/md/dm-log.h
b/drivers/md/dm-log.h
index
ced4eba
..
05ef594
100644
(file)
--- a/
drivers/md/dm-log.h
+++ b/
drivers/md/dm-log.h
@@
-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);
* 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);
};
int dm_register_dirty_log_type(struct dirty_log_type *type);