zfs/man
George Wilson dbf9aed3cf Parallel pool import
This commit allow spa_load() to drop the spa_namespace_lock so
that imports can happen concurrently. Prior to dropping the
spa_namespace_lock, the import logic will set the spa_load_thread
value to track the thread which is doing the import.

Consumers of spa_lookup() retain the same behavior by blocking
when either a thread is holding the spa_namespace_lock or the
spa_load_thread value is set. This will ensure that critical
concurrent operations cannot take place while a pool is being
imported.

The zpool command is also enhanced to provide multi-threaded support
when invoking zpool import -a.

Lastly, zinject provides a mechanism to insert artificial delays
when importing a pool and new zfs tests are added to verify parallel
import functionality.

Contributions-by: Don Brady <don.brady@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <gwilson@delphix.com>
Closes #16093
2024-04-30 16:47:59 +10:00
..
man1 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
man4 spa: make read/write queues configurable 2024-04-03 10:23:13 +11:00
man5 Consistentify miscellaneous style on remaining manpages 2021-06-10 10:50:16 -07:00
man7 Add dracut.zfs.7 2022-05-06 12:01:48 -07:00
man8 Parallel pool import 2024-04-30 16:47:59 +10:00
Makefile.am Add dracut.zfs.7 2022-05-06 12:01:48 -07:00