]> git.proxmox.com Git - zfsonlinux.git/commitdiff
spl: add man page cleanup patches
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 12 Oct 2017 11:19:24 +0000 (13:19 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 12 Oct 2017 11:19:24 +0000 (13:19 +0200)
spl-patches/0001-remove-DKMS-and-module-build.patch
spl-patches/0002-splat.1-manpage-fix-spelling-of-hexadecimal.patch [new file with mode: 0644]
spl-patches/0003-spl-module-parameters.5-manpage-fix-macro.patch [new file with mode: 0644]
spl-patches/series

index 6f0acba33c7894190d54114e39cd64311acf1fb0..5225aaae62857020a4bbda6790630e020b2e9fb7 100644 (file)
@@ -1,7 +1,7 @@
-From 93897d4241647a64014fb35393461a60c42b1d0f Mon Sep 17 00:00:00 2001
+From 9cb5edffe475c25c4132aace431ffc6a97531583 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
 Date: Wed, 12 Oct 2016 10:57:39 +0200
-Subject: [PATCH] remove DKMS and module build
+Subject: [PATCH 1/3] remove DKMS and module build
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -159,5 +159,5 @@ index b2fc86c..a474ca4 100755
 -
 -      dh_builddeb -p${pmodules}
 -- 
-2.11.0
+2.14.1
 
diff --git a/spl-patches/0002-splat.1-manpage-fix-spelling-of-hexadecimal.patch b/spl-patches/0002-splat.1-manpage-fix-spelling-of-hexadecimal.patch
new file mode 100644 (file)
index 0000000..c434f39
--- /dev/null
@@ -0,0 +1,55 @@
+From b414fa1353cac23e1d58d3fbdd1c48a7925bdbdb Mon Sep 17 00:00:00 2001
+From: Fabian-Gruenbichler <f.gruenbichler@proxmox.com>
+Date: Fri, 11 Aug 2017 00:21:54 +0200
+Subject: [PATCH 2/3] splat.1 manpage: fix spelling of 'hexadecimal'
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Reviewed-by: George Melikov <mail@gmelikov.ru>
+Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
+Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Closes #642
+(cherry picked from commit a02fa347b75266f40c8f571d7d63a21ec7f6f13d)
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ man/man1/splat.1 | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/man/man1/splat.1 b/man/man1/splat.1
+index 37f8435..407680b 100644
+--- a/man/man1/splat.1
++++ b/man/man1/splat.1
+@@ -32,7 +32,7 @@ Print the usage message.
+ .BI "\-l" "" ", \-\-list" ""
+ .IP
+ For each spl.ko subsystem, print all available test names and
+-hexidecimal identifiers with a short description.
++hexadecimal identifiers with a short description.
+ .HP
+ .BI "\-t" " subsystem" ":" "test" ", \-\-test" " subsystem" ":" "test"
+ .HP
+@@ -42,9 +42,9 @@ Run the \fItest\fR diagnostic routine for the spl.ko \fIsubsystem\fR.
+ Specify this option more than once to run multiple tests.
+ The \fItest\fR and \fIsubsystem\fR parameters are the names or
+-hexidecimal identifiers returned by the \fBsplat --list\fR command.
++hexadecimal identifiers returned by the \fBsplat --list\fR command.
+-If \fIsubsystem\fR is a name and not a hexidecimal identifier, then the
++If \fIsubsystem\fR is a name and not a hexadecimal identifier, then the
+ \fBall\fR keyword can be used to run all available \fIsubsystem\fR
+ tests.
+@@ -73,7 +73,7 @@ Test the kernel compression and queue waiting facilities:
+ # splat --test zlib:compress/uncompress --test taskq:wait
+ .LP
+ This is the same as the previous command, except that the subsystems
+-and tests are referenced by hexidecimal identifier instead of by name:
++and tests are referenced by hexadecimal identifier instead of by name:
+ .IP
+ # splat -t 0x0f00:0x0f01 -t 0x0200:0x0204
+-- 
+2.14.1
+
diff --git a/spl-patches/0003-spl-module-parameters.5-manpage-fix-macro.patch b/spl-patches/0003-spl-module-parameters.5-manpage-fix-macro.patch
new file mode 100644 (file)
index 0000000..8d95f86
--- /dev/null
@@ -0,0 +1,38 @@
+From cb03b1234f9e3645fb731fdbeb5ba12f0013caa8 Mon Sep 17 00:00:00 2001
+From: Fabian-Gruenbichler <f.gruenbichler@proxmox.com>
+Date: Fri, 11 Aug 2017 00:22:31 +0200
+Subject: [PATCH 3/3] spl-module-parameters.5 manpage: fix macro
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+There is no '.sh' macro in troff/groff/man, only '.SH' for section
+headers. I assume .sp for a line break was intended here like
+in the rest of the man page.
+
+Reviewed-by: George Melikov <mail@gmelikov.ru>
+Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
+Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
+Closes #643
+(cherry picked from commit 945b7f1c63e3a12d08349afb986b7dfaca370222)
+Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+---
+ man/man5/spl-module-parameters.5 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/man/man5/spl-module-parameters.5 b/man/man5/spl-module-parameters.5
+index 97241fd..e151144 100644
+--- a/man/man5/spl-module-parameters.5
++++ b/man/man5/spl-module-parameters.5
+@@ -153,7 +153,7 @@ function takes a single global lock over the entire virtual address range
+ which serializes all allocations.  Using slightly different allocation
+ functions for small and large objects allows us to handle a wide range of
+ object sizes.
+-.sh
++.sp
+ The \fBspl_kmem_cache_kmem_limit\fR value is used to determine this cutoff
+ size.  One quarter the PAGE_SIZE is used as the default value because
+ \fBspl_kmem_cache_obj_per_slab\fR defaults to 16.  This means that at
+-- 
+2.14.1
+
index 20724b7034ca69eabaff292e9bfcc9df0dca464a..d20144c8cd6b454b1598345056ccd2662d9ea706 100644 (file)
@@ -1 +1,3 @@
 0001-remove-DKMS-and-module-build.patch
+0002-splat.1-manpage-fix-spelling-of-hexadecimal.patch
+0003-spl-module-parameters.5-manpage-fix-macro.patch