Bring in some FreeBSD fixes to improve ZFS device removal
There are several issues badly breaking ZFS device removal. Fixes were committed to FreeBSD, tested by number of people and need merging to FN 11.2.
#1 Updated by Alexander Motin almost 2 years ago
- Status changed from In Progress to Ready for Testing
- Needs Merging changed from Yes to No
PR for 11.2-stable: https://github.com/freenas/os/pull/150
I had to slightly modify the fixes comparing to FreeBSD stable/11, since the last included some more changes I don't plan to merge at this point.
QA: Testing could include general ZFS testing, plus explicitly device removal: create pool with several top level vdevs (either single disks or mirrors, RAIDZ removal not supported), write some data, remove one/some of top level vdevs with `zpool remove ...`, check `zpool status` for removal completion, run scrub, read/write/delete data, make sure we are still alive.
#3 Updated by Alexander Motin almost 2 years ago
Into freenas/11-stable branch those merges went as part of regular FreeBSD merge: https://github.com/freenas/os/commit/e3615d152ac25f700dc48a32b4869ce1171ca056