zfs/tests/test-runner
Matthew Ahrens a103ae446e special device removal space accounting fixes
The space in special devices is not included in spa_dspace (or
dsl_pool_adjustedsize(), or the zfs `available` property).  Therefore
there is always at least as much free space in the normal class, as
there is allocated in the special class(es).  And therefore, there is
always enough free space to remove a special device.

However, the checks for free space when removing special devices did not
take this into account.  This commit corrects that.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Don Brady <don.brady@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
Closes #11329
2020-12-23 14:34:59 -08:00
..
bin special device removal space accounting fixes 2020-12-23 14:34:59 -08:00
include Remove dependency on sharetab file and refactor sharing logic 2020-07-13 09:19:18 -07:00
man ZTS: Add a failsafe callback to run after each test 2020-03-10 11:00:56 -07:00
Makefile.am Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00