Cluster Project branch, RHEL4, updated. gfs-kernel_2_6_9_76-18-g9d2d37e
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 <[email protected]>
Date: Thu Mar 20 10:55:12 2008 -0500
Merge branch 'RHEL4' of ssh://jbrassow at sources.redhat.com/git/cluster into rhel4
commit 8c6094c0c5d457c9572ff386c5b53f075ce54f9c
Author: Jonathan Brassow <[email protected]> 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.
-----------------------------------------------------------------------
Summary of changes:
cmirror-kernel/src/dm-cmirror-client.c | 1 + cmirror-kernel/src/dm-cmirror-common.h | 7 ++++ cmirror-kernel/src/dm-cmirror-server.c | 53 +++++++++++++++++++++++++++----- 3 files changed, 53 insertions(+), 8 deletions(-)
cmirror-kernel/src/dm-cmirror-client.c +1 -0
@@ -113,6 +113,7 @@ static int core_ctr(struct dirty_log *log, struct dm_target *ti, lc->sync = sync; lc->failure_response = failure_response;strncpy (lc->uuid, argv[uuid],MAX_NAME_LEN ); +init_completion (&lc->complete);/* * Work out how many words we need to hold the bitset.
cmirror-kernel/src/dm-cmirror-common.h +7 -0
@@ -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 "\n" , ## x)
@@ -63,6 +66,7 @@ struct dm_dev {void dm_table_event (struct dm_table *t);/* end of dm.h */ +#define SHORT_UUID (x) (strlen(x) > 8) ? ((x) + (strlen(x) - 8)) : (x)/* * Magic for persistent mirrors: "MiRr" */
@@ -115,6 +119,9 @@ struct log_c {/* * Disk log fields */ +int log_error; +struct completion complete; +int log_dev_failed;atomic_t suspended;/*
cmirror-kernel/src/dm-cmirror-server.c +45 -8
83 lines not on this page · raw message
hooks/post-receive
--
Cluster Project