On Tue, Jun 30, 2015 at 11:53 AM, Simon Riggs <si...@2ndquadrant.com> wrote: > > On 30 June 2015 at 04:21, Amit Kapila <amit.kapil...@gmail.com> wrote: > >> >> Now, I would like to briefly explain how allow-one-waker idea has >> helped to improve the patch as not every body here was present >> in that Un-conference. > > > The same idea applies for marking commits in clog, for which I have been sitting on a patch for a month or so and will post now I'm done travelling. >
Sure and I think we might want to try something similar even for XLogFlush where we use LWLockAcquireOrWait for WALWriteLock, not sure how it will workout in that case as I/O is involved, but I think it is worth trying. With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com