FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-15-2008, 06:42 AM
FUJITA Tomonori
 
Default dm snapshot: add get_snapshot_info hook to struct exception_store

dm-snap can use this interface to get the information of available
snapshots (such as the number of current snapshots) from exception
store code.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
drivers/md/dm-snap.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 3d43307..4eefb90 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -139,6 +139,12 @@ struct exception_store {
int (*message)(struct exception_store *store, unsigned argc,
char **argv);

+ /*
+ * get the info about available snapshot
+ */
+ u32 (*get_snapshot_info)(struct exception_store *store,
+ unsigned long *map, size_t size);
+
struct dm_snapshot *snap;
void *context;
};
--
1.5.5.GIT

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 10-27-2008, 11:07 AM
FUJITA Tomonori
 
Default dm snapshot: add get_snapshot_info hook to struct exception_store

dm-snap can use this interface to get the information of available
snapshots (such as the number of current snapshots) from exception
store code.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
drivers/md/dm-snap.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index c4f1df4..b0b5176 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -139,6 +139,12 @@ struct exception_store {
int (*message)(struct exception_store *store, unsigned argc,
char **argv);

+ /*
+ * get the info about available snapshot
+ */
+ u32 (*get_snapshot_info)(struct exception_store *store,
+ unsigned long *map, size_t size);
+
struct dm_snapshot *snap;
void *context;
};
--
1.5.5.GIT

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 11-26-2008, 03:17 PM
FUJITA Tomonori
 
Default dm snapshot: add get_snapshot_info hook to struct exception_store

dm-snap can use this interface to get the information of available
snapshots (such as the number of current snapshots) from exception
store code.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
drivers/md/dm-snap.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 6a8a4d8..8a0ae7f 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -139,6 +139,12 @@ struct exception_store {
int (*message)(struct exception_store *store, unsigned argc,
char **argv);

+ /*
+ * get the info about available snapshot
+ */
+ u32 (*get_snapshot_info)(struct exception_store *store,
+ unsigned long *map, size_t size);
+
struct dm_snapshot *snap;
void *context;
};
--
1.5.5.GIT

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 06:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org