Print this page
4101 metaslab_debug should allow for fine-grained control
4102 space_maps should store more information about themselves
4103 space map object blocksize should be increased
4104 ::spa_space no longer works
4105 removing a mirrored log device results in a leaked object
4106 asynchronously load metaslab
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Sebastien Roy <seb@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ztest/ztest.c
          +++ new/usr/src/cmd/ztest/ztest.c
↓ open down ↓ 5328 lines elided ↑ open up ↑
5329 5329                      MSEC2NSEC(zfs_deadman_synctime_ms);
5330 5330  
5331 5331                  (void) poll(NULL, 0, (int)NSEC2MSEC(delta));
5332 5332  
5333 5333                  /*
5334 5334                   * If the pool is suspended then fail immediately. Otherwise,
5335 5335                   * check to see if the pool is making any progress. If
5336 5336                   * vdev_deadman() discovers that there hasn't been any recent
5337 5337                   * I/Os then it will end up aborting the tests.
5338 5338                   */
5339      -                if (spa_suspended(spa)) {
     5339 +                if (spa_suspended(spa) || spa->spa_root_vdev == NULL) {
5340 5340                          fatal(0, "aborting test after %llu seconds because "
5341 5341                              "pool has transitioned to a suspended state.",
5342 5342                              zfs_deadman_synctime_ms / 1000);
5343 5343                          return (NULL);
5344 5344                  }
5345 5345                  vdev_deadman(spa->spa_root_vdev);
5346 5346  
5347 5347                  total += zfs_deadman_synctime_ms/1000;
5348 5348                  (void) printf("ztest has been running for %lld seconds\n",
5349 5349                      total);
↓ open down ↓ 923 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX