X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmd%2Fdm-log.h;h=05ef594b502a9e7514a3846a98d3fa90684754db;hb=53bc2c949a154cbc34807a97795c90e8894aac0b;hp=ced4ebacd5529a0617ec19dd614ff7538d1753bf;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/md/dm-log.h b/drivers/md/dm-log.h index ced4ebacd..05ef594b5 100644 --- 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); + + /* + * 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);