[Bugs] [Bug 1140862] A new xattr is needed to store ec parameters

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 24 05:47:02 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8825 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit c4440ab8c7417a3bcaadf1cb150476d5ff6a1325
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Thu Sep 18 16:50:47 2014 +0200

    ec: Add config information in an xattr

    To simplify backward compatibility of the ec xlator when some
    parameter or the implementation itself is changed, a new xattr
    is added to each file with the configuration needed to recover
    it.

    The new attribute is called 'trusted.ec.config', and it's a 64-bit
    value containing the following information:

        8 bits: version of the config information (currently always 0)
        8 bits: algorithm used to encode the file (currently always 0)
        8 bits: size of the galois field (currently always 8)
        8 bits: number of bricks
        8 bits: redundancy
       24 bits: chunk size (currently 512)

    This new xattr could allow, in a future version, to have different
    configurations per file.

    This is a backport of http://review.gluster.org/8770/

    Change-Id: I8c12d40ff546cc201fc66caa367484be3d48aeb4
    BUG: 1140862
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/8825
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-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=dei4LFRhp4&a=cc_unsubscribe


More information about the Bugs mailing list