[Bugs] [Bug 1211863] RFE: Support in md-cache to use upcall notifications to invalidate its cache

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 31 06:07:05 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1211863



--- Comment #101 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15002 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 8f053f9d7270f1c6d50c0b3ab5d020503ceeb31a
Author: Poornima G <pgurusid at redhat.com>
Date:   Mon Jul 11 15:04:55 2016 +0530

    md-cache: Register the list of xattrs with cache-invalidation

    Issue:
    md-cache caches a specified list of xattrs, and when cache invalidation
    is enabled, it makes sense to recieve invalidation only when those xattrs
    are modified by other clients. But the current implementation of upcall
    is that, it will send invalidation when any of the on-disk xattrs is
modified.

    Solution:
    md-cache sends a list of xattrs that it is interested in, to upcall by
    issuing an ipc(). The challenge here is to make sure everytime a brick
    goes offline and comes back up, the ipc() needs to be issued to the
    bricks. Hence ipc() is sent from md-cache every time there is a
    CHILD_UP/CHILD_MODIFIED event.

    TODO:
    There will be patches following, in cluster xlators, to implement ipc fop.

    Change-Id: I6efcf3df474f5ce6eabd3d6694c00c7bd89bc25d
    BUG: 1211863
    Signed-off-by: Poornima G <pgurusid at redhat.com>
    Reviewed-on: http://review.gluster.org/15002
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Prashanth Pai <ppai at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=taHayz2DTT&a=cc_unsubscribe


More information about the Bugs mailing list