Files
mirror_zfs/include/sys
George Wilson c183d164aa 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-22 09:42:38 -07:00
..
2024-02-08 09:19:52 -08:00
2022-05-10 10:18:51 -07:00
2022-05-25 09:18:49 -07:00
2024-03-25 16:50:35 -07:00
2021-06-07 09:02:47 -07:00
2023-10-30 16:56:04 -07:00
2023-10-30 16:56:04 -07:00
2023-01-10 13:39:22 -08:00
2023-12-15 09:51:41 -08:00
2024-02-26 12:24:22 -08:00
2023-10-24 11:00:07 -07:00
2023-03-14 15:25:50 -07:00
2023-05-09 09:03:10 -07:00
2017-10-11 16:54:48 -04:00
2023-09-01 18:00:30 -07:00
2024-04-09 16:23:19 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2024-04-22 09:42:38 -07:00
2024-04-22 09:42:38 -07:00
2023-11-08 10:19:41 -08:00
2023-11-08 10:19:41 -08:00
2018-02-08 15:28:18 -08:00
2023-11-08 10:19:41 -08:00
2024-04-22 09:42:38 -07:00
2023-05-25 13:51:53 -07:00
2022-06-29 14:08:54 -07:00
2020-07-03 11:05:50 -07:00
2024-04-22 09:42:38 -07:00
2023-01-05 09:31:55 -08:00