From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cn.fujitsu.com ([59.151.112.132]:17084 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751451AbbIBJlh (ORCPT ); Wed, 2 Sep 2015 05:41:37 -0400 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (localhost.localdomain [127.0.0.1]) by edo.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id t829fNwv023632 for ; Wed, 2 Sep 2015 17:41:23 +0800 From: Zhao Lei To: CC: Zhao Lei Subject: [PATCH 0/3] btrfs-progs: stat info for btrfs rescue chunk-recover Date: Wed, 2 Sep 2015 17:39:53 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-btrfs-owner@vger.kernel.org List-ID: chunk-recover need to use many many time in scan_devices(), and no output in screen: # btrfs rescue chunk-recover /dev/sda6 (no output here, but need long time) To notice user that "the command is not hang", this patch add dynamic updated stat information in above period: # btrfs rescue chunk-recover /dev/sda6 Scanning: DONE in dev[0], 19998441472 in dev[1], DONE in dev[2] (until) Scanning: DONE in dev0, DONE in dev1, DONE in dev2 Check chunks successfully with no orphans Recover the chunk tree successfully. Zhao Lei (3): btrfs-progs: use for loop for scan_devices btrfs-progs: stat info for btrfs rescue chunk-recover btrfs-progs: Fix some spelling typo in chunk-recover.c chunk-recover.c | 80 ++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 23 deletions(-) -- 1.8.5.1