[Gluster-users] @devel - Why no inotify?
lejeczek
peljasz at yahoo.co.uk
Tue May 22 17:05:50 UTC 2018
how about gluste's own client(s)?
You mount volume (locally to the server) via autofs/fstab
and watch for inotify on that mountpoing(or path inside it).
That is something I expected was out-of-box.
On 03/05/18 17:44, Joe Julian wrote:
> 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
>
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list