DEVEL15-poll-drop-fsync-lock-20080201
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 1 Feb 2008 15:27:30 +0000 (15:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 1 Feb 2008 15:27:30 +0000 (15:27 +0000)
LICENSE IPL10

update to drop fsync lock if we're using poll

(cherry picked from commit 43aa2bd2ba63e778f78d80b2a6a7d5ff991b0f97)

src/vol/fssync-server.c

index 0d135cb..d663ee6 100644 (file)
@@ -1255,6 +1255,7 @@ GetHandler(struct pollfd *fds, int maxfds, int events, int *nfds)
            fdi++;
        }
     *nfds = fdi;
+    ReleaseReadLock(&FSYNC_handler_lock);
 }
 #else
 static void