Optimize zpool_read_all_labels with AIO
authorasomers <asomers@FreeBSD.org>
Thu, 12 Oct 2017 21:25:11 +0000 (21:25 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 12 Oct 2017 21:25:11 +0000 (21:25 +0000)
commitc49a19fd7cfe64ba21443e7773b6eaad5d401178
tree5e0e6cc088d9ac2fd5d4d424811bee65dadae8b0
parent73beed95a978a718352864a086e9f8710980751a
Optimize zpool_read_all_labels with AIO

Read all labels in parallel instead of sequentially

MFC after: 3 weeks
X-MFC-With: 322854
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D12495
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c