[Bugs] [Bug 1218959] New: dht/rebalancer: Marking tiering migration fops
bugzilla at redhat.com
bugzilla at redhat.com
Wed May 6 09:57:00 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1218959
Bug ID: 1218959
Summary: dht/rebalancer: Marking tiering migration fops
Product: GlusterFS
Version: 3.7.0
Component: tiering
Assignee: bugs at gluster.org
Reporter: josferna at redhat.com
QA Contact: bugs at gluster.org
CC: bugs at gluster.org
Description of problem:
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().
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
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