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 message hook to struct exception_store

This enables exception store code to handle the message hook in struct
target_type. Exception store implementations can provide useful
features such as providing delta between two snapshots to user space.

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

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index a830781..3d43307 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -132,6 +132,13 @@ struct exception_store {
struct dm_snap_exception *(*lookup_completed_exception)
(struct exception_store *store, chunk_t chunk);

+ /*
+ * let exception store code to handle the message hook in
+ * struct target_type.
+ */
+ int (*message)(struct exception_store *store, unsigned argc,
+ char **argv);
+
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 message hook to struct exception_store

This enables exception store code to handle the message hook in struct
target_type. Exception store implementations can provide useful
features such as providing delta between two snapshots to user space.

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

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index d73d2c6..c4f1df4 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -132,6 +132,13 @@ struct exception_store {
struct dm_snap_exception *(*lookup_completed_exception)
(struct exception_store *store, chunk_t chunk);

+ /*
+ * let exception store code to handle the message hook in
+ * struct target_type.
+ */
+ int (*message)(struct exception_store *store, unsigned argc,
+ char **argv);
+
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 message hook to struct exception_store

This enables exception store code to handle the message hook in struct
target_type. Exception store implementations can provide useful
features such as providing delta between two snapshots to user space.

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

diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 579ac9d..6a8a4d8 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -132,6 +132,13 @@ struct exception_store {
struct dm_snap_exception *(*lookup_completed_exception)
(struct exception_store *store, chunk_t chunk);

+ /*
+ * let exception store code to handle the message hook in
+ * struct target_type.
+ */
+ int (*message)(struct exception_store *store, unsigned argc,
+ char **argv);
+
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 03:53 AM.

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