hi guys will we have gluster with inotify? some point / never? thanks, L.
https://github.com/libfuse/libfuse/wiki/Fsnotify-and-FUSE On May 3, 2018 8:33:30 AM PDT, lejeczek <peljasz at yahoo.co.uk> wrote:>hi guys > >will we have gluster with inotify? some point / never? > >thanks, L. >_______________________________________________ >Gluster-users mailing list >Gluster-users at gluster.org >http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180503/f9f07de0/attachment.html>
Hey, I thought about it a while back, haven't actually done it but I assume using inotify on the brick should work, at least in replica volumes (disperse probably wouldn't, you wouldn't get all events or you'd need to make sure your inotify runs on every brick). Then from there you could notify your clients, not ideal, but that should work. I agree that adding support for inotify directly into gluster would be great, but I'm not sure gluster has any mechanics for notifying clients of changes since most of the logic is in the client, as I understand it. On Thu, May 03, 2018 at 04:33:30PM +0100, lejeczek wrote:> hi guys > > will we have gluster with inotify? some point / never? > > thanks, L. > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-- PGP Fingerprint : 0x624E42C734DAC346
There is the ability to notify the client already. If you developed against libgfapi you could do it (I think). On May 3, 2018 9:28:43 AM PDT, lemonnierk at ulrar.net wrote:>Hey, > >I thought about it a while back, haven't actually done it but I assume >using inotify on the brick should work, at least in replica volumes >(disperse probably wouldn't, you wouldn't get all events or you'd need >to make sure your inotify runs on every brick). Then from there you >could notify your clients, not ideal, but that should work. > >I agree that adding support for inotify directly into gluster would be >great, but I'm not sure gluster has any mechanics for notifying clients >of changes since most of the logic is in the client, as I understand >it. > >On Thu, May 03, 2018 at 04:33:30PM +0100, lejeczek wrote: >> hi guys >> >> will we have gluster with inotify? some point / never? >> >> thanks, L. >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users > >-- >PGP Fingerprint : 0x624E42C734DAC346 >_______________________________________________ >Gluster-users mailing list >Gluster-users at gluster.org >http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180503/4185473c/attachment.html>