Refactor spa_load_impl into several functions
spa_load_impl has grown out of proportions.
It is currently over 700 lines long and makes it very hard to follow or debug the import process even for experienced ZFS developers.
The objective is to split it up in a series of well commented functions.
A PR is ready on openzfs.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
commit 1fd3785ff6601d3e391378c2dcbf4c5f27e1fe32 Author: Pavel Zakharov <firstname.lastname@example.org> Date: 2018-02-06T17:36:44.000Z 7638 Refactor spa_load_impl into several functions Reviewed by: Paul Dagnelie <email@example.com> Reviewed by: George Wilson <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>