DNM: new watch/notify framework

This is mostly complete.  The main remaining items are to convert rgw and
librbd over to use the new version of the API.

One thing I ran out of steam before doing is writing a reference user for
the API that uses all elements to full effect.  I think the use case I have in
mind is a shared cache with invalidates, like what RGW is doing.  But instead of
writing a toy or test implementation, it would be best to write a generic
shared-cache module that has all the features RGW needs and then migrate to using
it.  Maybe that will be simpler than fixing up RGW to make use of watch_check()
properly...?
fixed!  thanks

On Wed, 19 Nov 2014, Jason Dillaman wrote:

> 
> In src/test/system/st_rados_notify.cc:
> 
> > @@ -60,6 +60,9 @@ int StRadosNotify::run()
> >      m_notify_sem->post();
> >    }
> >  
> > +#pragma GCC diagnostic push
> 
> GCC complains about these: "#pragma GCC diagnostic not allowed inside functions"
> 
> ?
> Reply to this email directly or view it on GitHub.[AAabh2yvoGLvQX40D3Fju6qdHCTC9UIzks5nPM0mgaJpZM4C69eI.gif]
> 
> 
>