[Bugs] [Bug 1282315] Data Tiering:Metadata changes to a file should not heat/promote the file

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 16 15:42:45 UTC 2015


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12582 committed in release-3.7 by Dan
Lambright (dlambrig at redhat.com) 
------
commit a1aa8e72b026f4abbec743d6a12ab42263ccdaee
Author: Joseph Fernandes <josferna at redhat.com>
Date:   Sun Nov 8 15:33:15 2015 +0530

    tier/ctr: Providing option to record or ignore metadata heat

    Currently we heat up a file for both data and metadata write.
    Here we provide a ctr xlator option called "ctr-record-metadata-heat"
    were the admin can decide on recording metadata heat i.e heatup a
    file on metadata writes or not.
    Metadata data operation are
    a. setattr: explicit changing of atime/mtime using utimes,
                changing of posix permissions of the file
    b. rename: Renaming a file,
    c. unlink, link: adding or deleting hardlinks
    d. xattrs: setting or removal of xattrs.

    NOTE: atime, mtime and ctime change through writev, readv, truncate, mknod
    and create will not be considered here as these fops are data and primary
    metadata fops.

    Defaultly "ctr-record-metadata-heat" is off. Admin can
    switch it on using gluster volume set command.

    Backport of http://review.gluster.org/12540

    > Change-Id: I91157509255dd5cb429cda2b6d4f64582e155e7b
    > BUG: 1279166
    > Signed-off-by: Joseph Fernandes <josferna at redhat.com>
    > Reviewed-on: http://review.gluster.org/12540
    > Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    > Tested-by: Dan Lambright <dlambrig at redhat.com>
    Signed-off-by: Joseph Fernandes <josferna at redhat.com>

    Change-Id: I986c319f0cc337b0692a1dd02f71254e786afac4
    BUG: 1282315
    Reviewed-on: http://review.gluster.org/12582
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Dan Lambright <dlambrig at redhat.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list