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

update to drop fsync lock if we're using poll

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