path: root/heal/src
diff options
authorkarthik-us <>2017-11-21 19:01:36 +0530
committerAmar Tumballi <>2017-11-22 10:12:28 +0000
commit77e3bc671aab2fda68ada53f38ec368b20675f59 (patch)
tree716c817ac4a3d898b5cf14f651e3be1987b19dbe /heal/src
parent038d8f994d66eeb79734c03ecd631a12d5433221 (diff)
cluster/afr: Print heal info summary output in stream fashion
Problem: The heal info summary was printing the output at the end after crawling for pending heal entries completes on all the bricks. Fix: Printing the output immediately after the crawl on individual brick completes, so that it won't give the impression of CLI being hung. Change-Id: Ieaf5718736a7ee6837bac02bd30a95836e605dab BUG: 1506104 Signed-off-by: karthik-us <>
Diffstat (limited to 'heal/src')
1 files changed, 1 insertions, 0 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c
index a5a623f..277ac9b 100644
--- a/heal/src/glfs-heal.c
+++ b/heal/src/glfs-heal.c
@@ -465,6 +465,7 @@ glfsh_print_hr_heal_op_summary (int ret, num_entries_t *num_entries)
printf ("\n");
+ fflush (stdout);
return 0;