| Submitter | Anand Avati |
|---|---|
| Date | 2010-11-18 14:05:24 |
| Message ID | <20101118140524.GA23053@dev.gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/5748/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index ec939a5..5f116a3 100644 --- a/xlators/nfs/server/src/nfs.c +++ b/xlators/nfs/server/src/nfs.c @@ -662,6 +662,7 @@ notify (xlator_t *this, int32_t event, void *data, ...) event); switch (event) { + case GF_EVENT_CHILD_CONNECTING: case GF_EVENT_CHILD_UP: { nfs_startup_subvolume (this, subvol);
GF_EVENT_CHILD_CONNECTING is sent as a status from underlying subvolumes after a sufficient margin of time (tcp connect() timeout) if the subvolumes are not reachable. This should avoid the problem of NFS not being reachable if any volume is down Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> --- xlators/nfs/server/src/nfs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)