cf62f1947f
Resolves: bz#1264911 bz#1277924 bz#1286820 bz#1360331 bz#1401969 Resolves: bz#1410719 bz#1419438 bz#1426042 bz#1444820 bz#1459101 Resolves: bz#1464150 bz#1464350 bz#1466122 bz#1466129 bz#1467903 Resolves: bz#1468972 bz#1476876 bz#1484446 bz#1492591 bz#1498391 Resolves: bz#1498730 bz#1499865 bz#1500704 bz#1501345 bz#1505570 Resolves: bz#1507361 bz#1507394 bz#1509102 bz#1509191 bz#1509810 Resolves: bz#1509833 bz#1511766 bz#1512470 bz#1512496 bz#1512963 Resolves: bz#1515051 bz#1519076 bz#1519740 bz#1534253 bz#1534530 Signed-off-by: Milind Changire <mchangir@redhat.com>
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 931b40987fa4e2d4f7ddf561fd413663129e9072 Mon Sep 17 00:00:00 2001
|
|
From: karthik-us <ksubrahm@redhat.com>
|
|
Date: Mon, 27 Nov 2017 11:54:25 +0530
|
|
Subject: [PATCH 082/128] 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.
|
|
|
|
Upstream patch: https://review.gluster.org/#/c/18832/
|
|
|
|
Change-Id: Ieaf5718736a7ee6837bac02bd30a95836e605dab
|
|
BUG: 1419438
|
|
Signed-off-by: karthik-us <ksubrahm@redhat.com>
|
|
Reviewed-on: https://code.engineering.redhat.com/gerrit/124283
|
|
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
---
|
|
heal/src/glfs-heal.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c
|
|
index 27a9624..22c9395 100644
|
|
--- a/heal/src/glfs-heal.c
|
|
+++ b/heal/src/glfs-heal.c
|
|
@@ -422,6 +422,7 @@ glfsh_print_hr_heal_op_summary (int ret, num_entries_t *num_entries)
|
|
}
|
|
out:
|
|
printf ("\n");
|
|
+ fflush (stdout);
|
|
return 0;
|
|
}
|
|
|
|
--
|
|
1.8.3.1
|
|
|