From patchwork Thu Oct 19 07:45:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satoru Takeuchi X-Patchwork-Id: 10016153 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 F1AF760215 for ; Thu, 19 Oct 2017 07:46:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF87528CC5 for ; Thu, 19 Oct 2017 07:46:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9692A28D0F; Thu, 19 Oct 2017 07:46: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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 33A7828C44 for ; Thu, 19 Oct 2017 07:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbdJSHqI (ORCPT ); Thu, 19 Oct 2017 03:46:08 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:57276 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdJSHqF (ORCPT ); Thu, 19 Oct 2017 03:46:05 -0400 Received: by mail-pg0-f66.google.com with SMTP id m18so6454090pgd.13 for ; Thu, 19 Oct 2017 00:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:subject:user-agent:mime-version; bh=jfhUxUq3wOD8tBQM+TqQ7SkKpVTgLjY5VrKP0sUR83Y=; b=tNEJsAXDflXEGXT5P5qjJ/lxgPNsV5Tx7uzcBhJKC+AR9AgQ0MXkQGdah2W4qjtOOL Dd8nWtcWuatQ8P/TNtDbwAlNrLTyLJ5wFiaGiY7iCgfxQWCP8f5j4Qs6+aFye+QOOMSZ 54XI45lnlPUxWlIEt49xmQa8E04Nf2f9yyjDhmwvZhzXahdI/+IsIISipFis1mw92CNi UC7hy5hMPzCk1yjygstuYqA0Me36iPNf9ueuljsprcivGuraH21lqWRExyOGexA4RMcr DsaXpiCJrEliLj9uKKKvzaX7qIwzhKwYMyA0ygb+0bAaVfIMKIzz3+EAo/aYlBvQxAWs n6PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:subject:user-agent :mime-version; bh=jfhUxUq3wOD8tBQM+TqQ7SkKpVTgLjY5VrKP0sUR83Y=; b=O50j0wel3sOVL9RPScv5ifd7WyrTvWOJQUeVq/w+8wGNJ9RQtL+JAiHB64zQvKarBU HWlz9ojXEX0oemG2POmy3K2jv5aTIbt07YOUTQ3pzTp1p1K5Yqe+mskeLk3QHlyXZxmP 03OPW26rs+VKCPEaTnjvXSvBbSUyT/VgAUB0KgSA5Own4No9EyffqCW2/ZtI9J/NgB3I arOdlZBS0e+bAhF3N5Kx8UpsLf4j9at6/rS7ZDLpukKjg8S0EpW/dws/lK2EyaJFLluC vHzw21vMD7v6JC7X5byQ9G4Nd9SSxie81DlDA18jYlkt+tF7Opdt9ZaL5WIrGbJGRuF2 T1wA== X-Gm-Message-State: AMCzsaXMLwWqZu9NKV6GGJi+Fp9rqMiPUgQfNrWe5qUwV/jkf3BiLCfx oK/CcDYaExXqsBJUR2FqIYpWGQ== X-Google-Smtp-Source: ABhQp+Sl25yzJ/6HpEWAMmd9bEVurU08r1dxqHqY7bxTAY2VBwK1xvFRhgyM5Escwe3OieltqDeNjg== X-Received: by 10.159.253.65 with SMTP id b1mr791641plx.330.1508399165102; Thu, 19 Oct 2017 00:46:05 -0700 (PDT) Received: from gopher.gmail.com (58-189-215-38f1.hyg2.eonet.ne.jp. [58.189.215.38]) by smtp.gmail.com with ESMTPSA id c9sm22435995pfj.76.2017.10.19.00.46.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 00:46:04 -0700 (PDT) Date: Thu, 19 Oct 2017 16:45:57 +0900 Message-ID: <87y3o7zikq.wl-satoru.takeuchi@gmail.com> From: Satoru Takeuchi To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs-progs: change mans to describe the third copy of superblock User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") 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 Some tools can select which superblock these commands use by "-s " option. Although this option says the valid values are 0-2, we can set 3 if filesystem is very large. Signed-off-by: Satoru Takeuchi --- Documentation/btrfs-check.asciidoc | 2 +- Documentation/btrfs-restore.asciidoc | 2 +- Documentation/btrfs-select-super.asciidoc | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/btrfs-check.asciidoc b/Documentation/btrfs-check.asciidoc index fbf4884..a557cff 100644 --- a/Documentation/btrfs-check.asciidoc +++ b/Documentation/btrfs-check.asciidoc @@ -74,7 +74,7 @@ run in read-only mode, this option exists to calm potential panic when users are going to run the checker -s|--super :: -use 'superblock'th superblock copy, valid values are 0, 1 or 2 if the +use 'superblock'th superblock copy, valid values are 0, 1, 2 or 3 if the respective superblock offset is within the device size + This can be used to use a different starting point if some of the primary diff --git a/Documentation/btrfs-restore.asciidoc b/Documentation/btrfs-restore.asciidoc index 090dcc5..c19e0e2 100644 --- a/Documentation/btrfs-restore.asciidoc +++ b/Documentation/btrfs-restore.asciidoc @@ -63,7 +63,7 @@ use to read the root tree only restore files that are under specified subvolume root pointed by -u|--super :: -use given superblock mirror identified by , it can be 0,1 or 2 +use given superblock mirror identified by , it can be 0, 1, 2 or 3 -r|--root :: only restore files that are under a specified subvolume whose objectid is diff --git a/Documentation/btrfs-select-super.asciidoc b/Documentation/btrfs-select-super.asciidoc index 6e94a03..7f96bd8 100644 --- a/Documentation/btrfs-select-super.asciidoc +++ b/Documentation/btrfs-select-super.asciidoc @@ -32,13 +32,14 @@ Superblock copies exist in the following offsets on the device: - primary: '64KiB' (65536) - 1st copy: '64MiB' (67108864) - 2nd copy: '256GiB' (274877906944) +- 3rd copy: '1PiB' (1125899906842624) A superblock size is '4KiB' (4096). OPTIONS ------- -s|--super :: -use 'superblock'th superblock copy, valid values are 0 1 or 2 if the +use 'superblock'th superblock copy, valid values are 0, 1, 2 or 3 if the respective superblock offset is within the device size SEE ALSO