Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9151804ybi; Wed, 10 Jul 2019 05:35:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwG53849XQtiULwnn0E0T1s3MwnovdLpSkqovHzBMgfLhTaiJXmtjHtub6ZXvTMKaxfpZ0c X-Received: by 2002:a17:90a:23a4:: with SMTP id g33mr6896602pje.115.1562762118411; Wed, 10 Jul 2019 05:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562762118; cv=none; d=google.com; s=arc-20160816; b=1GdqUm3RusKxEAaoZcE8iTkubQ5xYhvjmo4dx3p0Rk+4rQXx38zdBaF2++OqtDKtLu sX5UL3ZMAgANSMVsiQw2xPDtDKMDLS70y7TlMts1By7+xnxd2y81bmj/gNvgS0b3TQ9n SO9U+NKz2q1mJ2SQeshHh611CHqqjlwxjy3hBsxLaLqgD1j6K6LNYyv/eXyqNysPXXMz BSDgxTcgbLY7WVNlLuDXsvzi0VURaFLXV5CohKefCbg4e97N6W0fcbUIlvvqoBYweha6 tCLLecd7d6ovqnOsF7RAGFgIt+LmwZWE3Y2aBfXHG6DJ0JOPlnsHVEIudcGEksUL7fuT 8tTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=GKkOnAHYDmsJE3tUOrE8JALnqY0x8ZYyqWzgAXaSu+Q=; b=pn57NvXzt/ScO11DLFzQ6C2J0SmlSzHTMuBgNFuKoJC/LZIBYUlQeBIiBiZd1/3hR3 HRzfmTlWSWXTPUM2OW5otOmsmMiWoSh+RClz1MUytzcKPzdEE8fdL8lIBNc2VfajNB3g 79aYkmBLvSCDgjkL9iO2Bj4vP+5EXzWxyKdIX5c/hdzSspgIJH+gFWd/X9Ze5ooAEgrG TkEoPd3R05PFfd5RHKYzmo/TSqEbsyPgACVX8wqPK8EI2zOxB6i4kHkoAw4KhL8QKq1I d6PScakrVgDCfegizYxQjsVKCKwI86o5TKfq8xB5Li8VeARUa5PW/rXdTSGbIvZcSJnx 4kPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cJAAXxcA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si2321918pja.67.2019.07.10.05.35.02; Wed, 10 Jul 2019 05:35:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cJAAXxcA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727063AbfGJMda (ORCPT + 99 others); Wed, 10 Jul 2019 08:33:30 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:36802 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725929AbfGJMda (ORCPT ); Wed, 10 Jul 2019 08:33:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GKkOnAHYDmsJE3tUOrE8JALnqY0x8ZYyqWzgAXaSu+Q=; b=cJAAXxcAbGgqJIxPdKdWKNKVI suu8u6qA3YQBP6DTI2mH70OELSPRlB771aHZt9B/K9lfSy875eHxYgEI0iykPIc9aTTbLg2TW4w9f zRE7d3GP4a0HdJuW0YrerBj337Vc8heCGQoVfNCj+CMwOl/AdWJUbWOUMMM6NyMkz04n8gmzCAFQf KmdrNcismlICU2qob9i8Z1bY3KciGflpop/Fu6qhCpVoAfhib79ZFi1BE/LmpzFczGAh8sS5InONd xCoXysK84c8XMrb8rEVCeyVb2qxc4Xf0u/gnF3OLIWhl4pLuG2fm8634LbVPW4dGAYFqDVeCCTtKE znIo8dpsA==; Received: from 177.43.30.58.dynamic.adsl.gvt.net.br ([177.43.30.58] helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hlBmp-0008Nv-KX; Wed, 10 Jul 2019 12:33:28 +0000 Date: Wed, 10 Jul 2019 09:33:23 -0300 From: Mauro Carvalho Chehab To: Shobhit Kukreti Cc: willy@infradead.org, Jonathan Corbet , skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] Documentation: filesystems: Convert jfs.txt to Message-ID: <20190710093323.7e5d6790@coco.lan> In-Reply-To: <1562729125-31475-1-git-send-email-shobhitkukreti@gmail.com> References: <20190708195717.GG32320@bombadil.infradead.org> <1562729125-31475-1-git-send-email-shobhitkukreti@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 9 Jul 2019 20:25:25 -0700 Shobhit Kukreti escreveu: > This converts the plain text documentation of jfs.txt to reStructuredText format. > Added to documentation build process and verified with make htmldocs > > Signed-off-by: Shobhit Kukreti > --- > Changes in v2: > 1. Removed flat-table. > 2. Moved jfs.rst from filesystem to admin-guide > > Documentation/admin-guide/index.rst | 1 + > Documentation/admin-guide/jfs.rst | 50 +++++++++++++++++++++++++++++++++++ > Documentation/filesystems/jfs.txt | 52 ------------------------------------- > 3 files changed, 51 insertions(+), 52 deletions(-) > create mode 100644 Documentation/admin-guide/jfs.rst > delete mode 100644 Documentation/filesystems/jfs.txt As commented on ufs patch, please use -M1 to show it as a diff, and not as two separate changes. > > diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst > index 8001917..2871b79 100644 > --- a/Documentation/admin-guide/index.rst > +++ b/Documentation/admin-guide/index.rst > @@ -70,6 +70,7 @@ configure specific aspects of kernel behavior to your liking. > ras > bcache > ext4 > + jfs > pm/index > thunderbolt > LSM/index > diff --git a/Documentation/admin-guide/jfs.rst b/Documentation/admin-guide/jfs.rst > new file mode 100644 > index 0000000..a0a95e5 > --- /dev/null > +++ b/Documentation/admin-guide/jfs.rst > @@ -0,0 +1,50 @@ > +=========================================== > +IBM's Journaled File System (JFS) for Linux > +=========================================== > + > +JFS Homepage: ``_ > + No need. Just keep it as: JFS Homepage: http://jfs.sourceforge.net/ Sphinx will do the right thing when it finds a URL that starts with http/https. > +The following mount options are supported: > +(*) == default You need a blank line between those two above. > + > +**iocharset=name** Character set to use for converting from Unicode to ASCII. The default is to do no conversion. > + > +**iocharset=utf8** Use for UTF-8 translations. This requires CONFIG_NLS_UTF8 to be set in the kernel .config file. > + > +**iocharset=none** specifies the default behavior explicitly. > + > +**resize=value** Resize the volume to blocks. JFS only supports growing a volume, not shrinking it. > +This option is only valid during a remount, when the volume is mounted read-write. The resize keyword with no value > +will grow the volume to the full size of the partition. > + > + > +**nointegrity** Do not write to the journal. The primary use of this option is to allow for higher performance > +when restoring a volume from backup media. The integrity of the volume is not guaranteed if the system abnormally abends. > + > +**integrity(*)** Commit metadata changes to the journal. Use this option to remount a volume where the nointegrity > +option was previously specified in order to restore normal behavior. > + > +**errors=continue** Keep going on a filesystem error. > + > +**errors=remount-ro(*)** Remount the filesystem read-only on an error. > + > +**errors=panic** Panic and halt the machine if an error occurs. > + > +**uid=value** Override on-disk uid with specified value > + > +**gid=value** Override on-disk gid with specified value > + > +**umask=value** Override on-disk umask with specified octal value. For directories, the execute bit will be set if the > +corresponding read bit is set. > + > +**discard=minlen, discard, nodiscard(*)** Please preserve as much as possible the original format. If you just place the mount option on one line and the description at the next one, e. g.: iocharset=name Character set to use for converting from Unicode to ASCII. The default is to do no conversion. Use iocharset=utf8 for UTF-8 translations. This requires CONFIG_NLS_UTF8 to be set in the kernel .config file. iocharset=none specifies the default behavior explicitly. resize=value Resize the volume to blocks. JFS only supports growing a volume, not shrinking it. This option is only valid during a remount, when the volume is mounted read-write. The resize keyword with no value will grow the volume to the full size of the partition. ... It will produce a very nice output, and the changes will be minimum, without any special markup. > + > +This enables/disables the use of discard/TRIM commands. The discard/TRIM > +commands are sent to the underlying block device when blocks are freed. This is useful for SSD devices and > +sparse/thinly-provisioned LUNs. The FITRIM ioctl command is also available together with the nodiscard option. > +The value of minlen specifies the minimum blockcount, when a TRIM command to the block device is considered useful. > +When no value is given to the discard option, it defaults to 64 blocks, which means 256KiB in JFS. The minlen value > +of discard overrides the minlen value given on an FITRIM ioctl(). > + > +The JFS mailing list can be subscribed to by using the link labeled > +"Mail list Subscribe" at our web page ``_ Same here: just keep the URL as-is: The JFS mailing list can be subscribed to by using the link labeled "Mail list Subscribe" at our web page http://jfs.sourceforge.net/ > diff --git a/Documentation/filesystems/jfs.txt b/Documentation/filesystems/jfs.txt > deleted file mode 100644 > index 41fd757..0000000 > --- a/Documentation/filesystems/jfs.txt > +++ /dev/null > @@ -1,52 +0,0 @@ > -IBM's Journaled File System (JFS) for Linux > - > -JFS Homepage: http://jfs.sourceforge.net/ > - > -The following mount options are supported: > -(*) == default > - > -iocharset=name Character set to use for converting from Unicode to > - ASCII. The default is to do no conversion. Use > - iocharset=utf8 for UTF-8 translations. This requires > - CONFIG_NLS_UTF8 to be set in the kernel .config file. > - iocharset=none specifies the default behavior explicitly. > - > -resize=value Resize the volume to blocks. JFS only supports > - growing a volume, not shrinking it. This option is only > - valid during a remount, when the volume is mounted > - read-write. The resize keyword with no value will grow > - the volume to the full size of the partition. > - > -nointegrity Do not write to the journal. The primary use of this option > - is to allow for higher performance when restoring a volume > - from backup media. The integrity of the volume is not > - guaranteed if the system abnormally abends. > - > -integrity(*) Commit metadata changes to the journal. Use this option to > - remount a volume where the nointegrity option was > - previously specified in order to restore normal behavior. > - > -errors=continue Keep going on a filesystem error. > -errors=remount-ro(*) Remount the filesystem read-only on an error. > -errors=panic Panic and halt the machine if an error occurs. > - > -uid=value Override on-disk uid with specified value > -gid=value Override on-disk gid with specified value > -umask=value Override on-disk umask with specified octal value. For > - directories, the execute bit will be set if the corresponding > - read bit is set. > - > -discard=minlen This enables/disables the use of discard/TRIM commands. > -discard The discard/TRIM commands are sent to the underlying > -nodiscard(*) block device when blocks are freed. This is useful for SSD > - devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl > - command is also available together with the nodiscard option. > - The value of minlen specifies the minimum blockcount, when > - a TRIM command to the block device is considered useful. > - When no value is given to the discard option, it defaults to > - 64 blocks, which means 256KiB in JFS. > - The minlen value of discard overrides the minlen value given > - on an FITRIM ioctl(). > - > -The JFS mailing list can be subscribed to by using the link labeled > -"Mail list Subscribe" at our web page http://jfs.sourceforge.net/ Thanks, Mauro