[Bugs] [Bug 1194753] Storage tier feature

bugzilla at redhat.com bugzilla at redhat.com
Fri May 1 14:45:32 UTC 2015


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



--- Comment #72 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10266 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com) 
------
commit 82d78fa3181dff0969ca3b24e2e071ab2b8064d4
Author: Joseph Fernandes <josferna at redhat.com>
Date:   Thu Apr 16 12:30:16 2015 +0530

    dht/rebalancer: Marking tiering migration fops

    This is a follow up patch for http://review.gluster.org/#/c/10080
    In the above, the suggested change in
   
http://review.gluster.org/#/c/10080/7/xlators/cluster/dht/src/dht-rebalance.c
    doesnot work. The reason it doesnt work is promotion and demotion are done
in
    a multithread way. Whenever a promotion or demotion thread is called, the
frame
    of the old sync_op thread is not carried with it. As a result the
frame->root->pid
    is not set.

    Solution:
    When the file is getting migrated, we get a tiering.migration key_value in
the
    xattr dict, so that we pass  this dic key-value when we do
syncop_setxattr()
    to do  data migration and set the frame->root->pid
GF_CLIENT_PID_TIER_DEFRAG
    in dht_setxattr() just before calling dht_start_rebalance_task().

    Change-Id: I86fef2d961b32fdd2c0c69d8512cbe846b393404
    BUG: 1194753
    Signed-off-by: Joseph Fernandes <josferna at redhat.com>
    Reviewed-on: http://review.gluster.org/10266
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
    Reviewed-by: Susant Palai <spalai at redhat.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.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=N3VkRARTEY&a=cc_unsubscribe


More information about the Bugs mailing list