Created attachment 1294101 [details] patch file to raise events when heal is triggered Description of problem: I cannot recognize the time when heal is triggered. I'm sure that performance is affected by heal. So administrators have to know whether the volume is being healed or not. Event is one of the best way how to recognize it, I think. So I want you to consider adding gf_event(...) into afr xlator like the patch attached Version-Release number of selected component (if applicable): 3.9, 3.10 and mainline How reproducible: nothing Steps to Reproduce: nothing Actual results: nothing Expected results: nothing Additional info: nothing
Created attachment 1294822 [details] heal_events.patch Add more events to know how files are healed. It try to raise the event every 10 seconds at least. if a file which is being healed is taken for longer than 10 secs, It should wait until the file is healed.
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#1) for review on master by Taehwa Lee (alghost.lee)
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#2) for review on master by Taehwa Lee (alghost.lee)
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#3) for review on master by Taehwa Lee (alghost.lee)
REVIEW: https://review.gluster.org/17712 (heal, event: raise events for heal) posted (#4) for review on master by Taehwa Lee (alghost.lee)
This bug is moved to https://github.com/gluster/glusterfs/issues/893, and will be tracked there from now on. Visit GitHub issues URL for further details