From patchwork Fri Sep 23 21:51:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Borowski X-Patchwork-Id: 9348931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 485756077A for ; Fri, 23 Sep 2016 21:52:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3981F2AE26 for ; Fri, 23 Sep 2016 21:52:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E0CC2AE49; Fri, 23 Sep 2016 21:52:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 491142AE26 for ; Fri, 23 Sep 2016 21:52:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935359AbcIWVwN (ORCPT ); Fri, 23 Sep 2016 17:52:13 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:35700 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934834AbcIWVwM (ORCPT ); Fri, 23 Sep 2016 17:52:12 -0400 Received: from umbar.angband.pl ([2001:6a0:118::6]) by tartarus.angband.pl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bnYO5-0006Fe-IE; Fri, 23 Sep 2016 23:52:08 +0200 Received: from kilobyte by umbar.angband.pl with local (Exim 4.87) (envelope-from ) id 1bnYO5-00030D-5A; Fri, 23 Sep 2016 23:52:05 +0200 From: Adam Borowski To: linux-btrfs@vger.kernel.org Cc: Adam Borowski Date: Fri, 23 Sep 2016 23:51:57 +0200 Message-Id: <20160923215157.11497-1-kilobyte@angband.pl> X-Mailer: git-send-email 2.9.3 X-SA-Exim-Connect-IP: 2001:6a0:118::6 X-SA-Exim-Mail-From: kilobyte@angband.pl Subject: [PATCH] btrfs-progs: docs: document exit codes from scrub X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Adam Borowski --- Documentation/btrfs-scrub.asciidoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/btrfs-scrub.asciidoc b/Documentation/btrfs-scrub.asciidoc index 40e793c..e88e684 100644 --- a/Documentation/btrfs-scrub.asciidoc +++ b/Documentation/btrfs-scrub.asciidoc @@ -95,7 +95,14 @@ print separate statistics for each device of the filesystem EXIT STATUS ----------- *btrfs scrub* returns a zero exit status if it succeeds. Non zero is -returned in case of failure. +returned in case of failure: + +1:::: +scrub couldn't be performed +2:::: +there is nothing to resume +3:::: +scrub found uncorrectable errors AVAILABILITY ------------