diff options
author | Alasdair G Kergon <agk@redhat.com> | 2009-01-05 22:05:17 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-01-05 22:05:17 -0500 |
commit | 4db6bfe02bdc7dc5048f46dd682a94801d029adc (patch) | |
tree | 780a41560ea05266288853204f0d7e4eef4f6355 /drivers/md/dm-exception-store.h | |
parent | 1ae25f9c933d1432fbffdf3e126051a974608abf (diff) |
dm snapshot: split out exception store implementations
Move the existing snapshot exception store implementations out into
separate files. Later patches will place these behind a new
interface in preparation for alternative implementations.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-exception-store.h')
-rw-r--r-- | drivers/md/dm-exception-store.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/md/dm-exception-store.h b/drivers/md/dm-exception-store.h index 25677df8dd59..78d1acec77e9 100644 --- a/drivers/md/dm-exception-store.h +++ b/drivers/md/dm-exception-store.h | |||
@@ -122,9 +122,18 @@ static inline void dm_consecutive_chunk_count_inc(struct dm_snap_exception *e) | |||
122 | 122 | ||
123 | # endif | 123 | # endif |
124 | 124 | ||
125 | int dm_exception_store_init(void); | ||
126 | void dm_exception_store_exit(void); | ||
127 | |||
125 | /* | 128 | /* |
126 | * Two exception store implementations. | 129 | * Two exception store implementations. |
127 | */ | 130 | */ |
131 | int dm_persistent_snapshot_init(void); | ||
132 | void dm_persistent_snapshot_exit(void); | ||
133 | |||
134 | int dm_transient_snapshot_init(void); | ||
135 | void dm_transient_snapshot_exit(void); | ||
136 | |||
128 | int dm_create_persistent(struct dm_exception_store *store); | 137 | int dm_create_persistent(struct dm_exception_store *store); |
129 | 138 | ||
130 | int dm_create_transient(struct dm_exception_store *store); | 139 | int dm_create_transient(struct dm_exception_store *store); |