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

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 23 16:12:40 UTC 2014


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8770 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 5f79d6e08fbb930aa67dd59eb39cbece6f138b59
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.

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


More information about the Bugs mailing list