OpenZFS/src 1d4505dman/man4 spl.4 zfs.4, man/man7 zfsprops.7

Capitalize in various places where appropriate

These are mostly acronyms (CPUs; ZILs) but also proper nouns such as
"Unix" and "Unicode" which should also be capitalized.

Signed-off-by: Simon Howard <fraggle at gmail.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
DeltaFile
+3-3man/man4/spl.4
+3-3man/man7/zfsprops.7
+2-2man/man4/zfs.4
+1-1man/man8/zpool.8
+1-1man/man8/zfs-hold.8
+10-105 files

OpenZFS/src 73494f3man/man4 spl.4 zfs.4, man/man7 zpool-features.7

Make use of "i.e." (id est) consistent

This is the most common way it is written throughout the manpages, but
there are a few cases where it is written slightly differently.

Signed-off-by: Simon Howard <fraggle at gmail.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Alexander Motin <mav at FreeBSD.org>
DeltaFile
+1-1man/man4/spl.4
+1-1man/man4/zfs.4
+1-1man/man7/zpool-features.7
+3-33 files

OpenZFS/src eb9098etests/zfs-tests/tests/functional/inheritance inherit_001_pos.ksh state001.cfg

SPDX: license tags: CDDL-1.0

Sponsored-by: https://despairlabs.com/sponsor/
Signed-off-by: Rob Norris <robn at despairlabs.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
DeltaFile
+1-0tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh
+1-0tests/zfs-tests/tests/functional/inheritance/state001.cfg
+1-0tests/zfs-tests/tests/functional/inheritance/state002.cfg
+1-0tests/zfs-tests/tests/functional/inheritance/state003.cfg
+1-0tests/zfs-tests/tests/functional/inheritance/state004.cfg
+1-0tests/zfs-tests/tests/functional/inheritance/state005.cfg
+6-02,910 files not shown
+2,916-02,916 files

OpenZFS/src 816d2b2man/man4 spl.4, module/os/linux/spl spl-proc.c

spl-proc: remove old taskq stats

These had minimal useful information for the admin, didn't work properly
in some places, and knew far too much about taskq internals.

With the new stats available, these should never be needed anymore.

Reviewed-by: Alexander Motin <mav at FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs at mcmilk.de>
Signed-off-by: Rob Norris <rob.norris at klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Syneto
Closes #16171
DeltaFile
+0-268module/os/linux/spl/spl-proc.c
+0-11man/man4/spl.4
+0-2792 files

OpenZFS/src 793a2cfinclude/os/linux/spl/sys taskq.h, man/man4 spl.4

Linux: Cleanup taskq threads spawn/exit

This changes taskq_thread_should_stop() to limit maximum exit rate
for idle threads to one per 5 seconds.  I believe the previous one
was broken, not allowing any thread exits for tasks arriving more
than one at a time and so completing while others are running.

Also while there:
 - Remove taskq_thread_spawn() calls on task allocation errors.
 - Remove extra taskq_thread_should_stop() call.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain at gmail.com>
Signed-off-by:  Alexander Motin <mav at FreeBSD.org>
Sponsored by:   iXsystems, Inc.
Closes #15873 
DeltaFile
+29-56module/os/linux/spl/spl-taskq.c
+4-14man/man4/spl.4
+1-1include/os/linux/spl/sys/taskq.h
+34-713 files

OpenZFS/src e0bd811include/os/linux/spl/sys taskq.h, man/man4 spl.4

Linux: Cleanup taskq threads spawn/exit

This changes taskq_thread_should_stop() to limit maximum exit rate
for idle threads to one per 5 seconds.  I believe the previous one
was broken, not allowing any thread exits for tasks arriving more
than one at a time and so completing while others are running.

Also while there:
 - Remove taskq_thread_spawn() calls on task allocation errors.
 - Remove extra taskq_thread_should_stop() call.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rich Ercolani <rincebrain at gmail.com>
Signed-off-by:  Alexander Motin <mav at FreeBSD.org>
Sponsored by:   iXsystems, Inc.
Closes #15873 
DeltaFile
+29-56module/os/linux/spl/spl-taskq.c
+4-14man/man4/spl.4
+1-1include/os/linux/spl/sys/taskq.h
+34-713 files

OpenZFS/src a8c29a7include/os/linux/spl/sys kmem_cache.h, man/man4 spl.4

Linux: Reclaim unused spl_kmem_cache_reclaim

It is unused for 3 years since #10576.

Reviewed-by: George Melikov <mail at gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by:  Alexander Motin <mav at FreeBSD.org>
Sponsored by:   iXsystems, Inc.
Closes #15507 
DeltaFile
+0-11module/os/linux/spl/spl-kmem-cache.c
+0-8man/man4/spl.4
+0-2include/os/linux/spl/sys/kmem_cache.h
+0-213 files

OpenZFS/src 3a8d9b8include/os/linux/spl/sys kmem_cache.h, man/man4 spl.4

Linux: Reclaim unused spl_kmem_cache_reclaim

It is unused for 3 years since #10576.

Reviewed-by: George Melikov <mail at gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by:  Alexander Motin <mav at FreeBSD.org>
Sponsored by:   iXsystems, Inc.
Closes #15507 
DeltaFile
+0-11module/os/linux/spl/spl-kmem-cache.c
+0-8man/man4/spl.4
+0-2include/os/linux/spl/sys/kmem_cache.h
+0-213 files

OpenZFS/src 35a6247include/os/linux/spl/sys taskq.h, man/man4 spl.4

Add a delay to tearing down threads.

It's been observed that in certain workloads (zvol-related being a
big one), ZFS will end up spending a large amount of time spinning
up taskqs only to tear them down again almost immediately, then
spin them up again...

I noticed this when I looked at what my mostly-idle system was doing
and wondered how on earth taskq creation/destroy was a bunch of time...

So I added a configurable delay to avoid it tearing down tasks the
first time it notices them idle, and the total number of threads at
steady state went up, but the amount of time being burned just
tearing down/turning up new ones almost vanished.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain at gmail.com>
Closes #14938 
DeltaFile
+33-1module/os/linux/spl/spl-taskq.c
+15-0man/man4/spl.4
+1-0include/os/linux/spl/sys/taskq.h
+49-13 files

OpenZFS/src b46be90man/man4 zfs.4, man/man7 zfsprops.7 dracut.zfs.7

Ubuntu 22.04 integration: mancheck

Correct new mandoc errors.
```
STYLE: input text line longer than 80 bytes
STYLE: no blank before trailing delimiter
```

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Richard Yao <richard.yao at alumni.stonybrook.edu>
Reviewed-by: George Melikov <mail at gmelikov.ru>
Signed-off-by: szubersk <szuberskidamian at gmail.com>
Closes #14148
DeltaFile
+53-31man/man4/zfs.4
+20-11man/man7/zfsprops.7
+15-8man/man8/zfs-send.8
+12-6man/man8/zed.8.in
+8-5man/man8/zpool.8
+8-4man/man7/dracut.zfs.7
+116-6531 files not shown
+217-12537 files

OpenZFS/src 1d3ba0btests/zfs-tests/tests/functional/append setup.ksh threadsappend_001_pos.ksh, tests/zfs-tests/tests/functional/arc cleanup.ksh dbufstats_001_pos.ksh

Replace dead opensolaris.org license link

The commit replaces all findings of the link:
http://www.opensolaris.org/os/licensing with this one:
https://opensource.org/licenses/CDDL-1.0

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs at mcmilk.de>
Closes #13619 
DeltaFile
+1-1tests/zfs-tests/tests/functional/append/setup.ksh
+1-1tests/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh
+1-1tests/zfs-tests/tests/functional/arc/cleanup.ksh
+1-1tests/zfs-tests/tests/functional/arc/dbufstats_001_pos.ksh
+1-1tests/zfs-tests/tests/functional/arc/dbufstats_002_pos.ksh
+1-1tests/zfs-tests/tests/functional/arc/dbufstats_003_pos.ksh
+6-61,941 files not shown
+1,947-1,9471,947 files

OpenZFS/src a444efbman/man4 zfs.4, man/man5 zfs-module-parameters.5 zpool-features.5

Move properties, parameters, events, and concepts around manual sections

The pages moved as follows:
  zpool-features.{5 => 7}
  spl{-module-parameters.5 => .4}
  zfs{-module-parameters.5 => .4}
  zfs-events.5 => into zpool-events.8
  zfsconcepts.{8 => 7}
  zfsprops.{8 => 7}
  zpoolconcepts.{8 => 7}
  zpoolprops.{8 => 7}

Reviewed-by: Richard Laager <rlaager at wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli at nabijaczleweli.xyz>
Co-authored-by: Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
Closes #12149
Closes #12212
DeltaFile
+2,380-0man/man4/zfs.4
+0-2,379man/man5/zfs-module-parameters.5
+0-2,045man/man8/zfsprops.8
+2,045-0man/man7/zfsprops.7
+842-0man/man7/zpool-features.7
+0-842man/man5/zpool-features.5
+5,267-5,26651 files not shown
+7,106-7,14557 files

OpenZFS/src 2badb34man/man4 zfs.4, man/man5 zfs-module-parameters.5 zpool-features.5

Move properties, parameters, events, and concepts around manual sections

The pages moved as follows:
  zpool-features.{5 => 7}
  spl{-module-parameters.5 => .4}
  zfs{-module-parameters.5 => .4}
  zfs-events.5 => into zpool-events.8
  zfsconcepts.{8 => 7}
  zfsprops.{8 => 7}
  zpoolconcepts.{8 => 7}
  zpoolprops.{8 => 7}

Reviewed-by: Richard Laager <rlaager at wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli at nabijaczleweli.xyz>
Co-authored-by: Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
Closes #12149
Closes #12212
DeltaFile
+2,380-0man/man4/zfs.4
+0-2,379man/man5/zfs-module-parameters.5
+0-2,067man/man8/zfsprops.8
+2,067-0man/man7/zfsprops.7
+842-0man/man7/zpool-features.7
+0-842man/man5/zpool-features.5
+5,289-5,28851 files not shown
+7,128-7,16757 files