This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
The branch, RHEL4 has been updated
via 9d2d37ee3db933f01c8e5021d6d6a5897d5fe017 (commit)
via 8c6094c0c5d457c9572ff386c5b53f075ce54f9c (commit)
from c118d0ce03910523ebd6cd533a410283640caf37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d2d37ee3db933f01c8e5021d6d6a5897d5fe017
Merge: 8c6094c0c5d457c9572ff386c5b53f075ce54f9c c118d0ce03910523ebd6cd533a410283640caf37
Author: Jonathan Brassow <jbrassow@redhat.com>
Date: Thu Mar 20 10:55:12 2008 -0500
Merge branch 'RHEL4' of ssh://jbrassow@sources.redhat.com/git/cluster into rhel4
commit 8c6094c0c5d457c9572ff386c5b53f075ce54f9c
Author: Jonathan Brassow <jbrassow@redhat.com>
Date: Thu Mar 20 10:37:50 2008 -0500
dm-cmirror.ko: change a blocking I/O to async I/O
Sometimes, the mirror subdevices get suspended before
the log server suspends. This can lead to the server issuing
I/O requests on devices that are suspended. If it waits for the
I/O to complete, it could wait indefinitly. Now there is a
timeout in place for the I/O, which should prevent the server
from getting stuck.
/*
* Work out how many words we need to hold the bitset.
diff --git a/cmirror-kernel/src/dm-cmirror-common.h b/cmirror-kernel/src/dm-cmirror-common.h
index 588958c..e8d2144 100644
--- a/cmirror-kernel/src/dm-cmirror-common.h
+++ b/cmirror-kernel/src/dm-cmirror-common.h
@@ -17,6 +17,9 @@ int dm_io_get(unsigned int num_pages);
void dm_io_put(unsigned int num_pages);
int dm_io_sync_vm(unsigned int num_regions, struct io_region *where, int rw,
void *data, unsigned long *error_bits);
+int dm_io_async_vm(unsigned int num_regions, struct io_region *where, int rw,
+ void *data, void (*fn)(unsigned long, void *),/*io_notify_fn fn,*/ void *context);
+
/* from dm.h */
#define DM_NAME "dm-cmirror"
#define DMWARN(f, x...) printk(KERN_WARNING DM_NAME ": " f "
" , ## x)
@@ -63,6 +66,7 @@ struct dm_dev {
void dm_table_event(struct dm_table *t);
/* end of dm.h */