[Bugs] [Bug 1170075] [RFE] : BitRot detection in glusterfs

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 24 13:34:37 UTC 2015


--- Comment #167 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9913 committed in master by Vijay Bellur
(vbellur at redhat.com) 
commit 3c474a042aed68659fe0cfdf32e01285bde9f689
Author: Venky Shankar <vshankar at redhat.com>
Date:   Sun Mar 15 03:43:49 2015 +0530

    core: Add inode context merge callback

    Certain translators may require to update the inode context
    of an already linked inode before unwinding the call to the
    client. Normally, such a case in encountered during parallel
    operations when a fresh inode is chosen at call (wind) time.
    In the callback path, one of inodes is successfully linked
    in the inode table, thereby the other inodes being thrown
    away (and the inode pointers for these calls being pointed
    to the linked inode).

    Translators which may have strict dependency on the correct
    value in the inode context would get stale values in inode
    context. This patch introduces a new callback which provides
    gives translators an opportunity to "patch" their respective
    inode contexts. Note that, as of now, this callback is only
    invoked during create()s unwind path. Although this might
    needed to be done for all dentry fops and lookup, but let
    that be done as an when required (bitrot stub requires
    this *only* for create()).

    Change-Id: I6cd91c2af473c44d1511208060d3978e580c67a6
    BUG: 1170075
    Original-Author: Raghavendra Bhat <rabhat at redhat.com>
    Original-Author: Venky Shankar <vshankar at redhat.com>
    Signed-off-by: Venky Shankar <vshankar at redhat.com>
    Reviewed-on: http://review.gluster.org/9913
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>
    Tested-by: Vijay Bellur <vbellur 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=N2DluLDmvk&a=cc_unsubscribe

More information about the Bugs mailing list