Re: @devel - Why no inotify?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx 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@xxxxxxxxxxx
        http://lists.gluster.org/mailman/listinfo/gluster-users




_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux