mirror_zfs/tests/runfiles
Chunwei Chen eb9c4532dd Fix zdb -ed on objset for exported pool
zdb -ed on objset for exported pool would failed with:
  failed to own dataset 'qq/fs0': No such file or directory

The reason is that zdb pass objset name to spa_import, it uses that
name to create a spa. Later, when dmu_objset_own tries to lookup the spa
using real pool name, it can't find one.

We fix this by make sure we pass pool name rather than objset name to
spa_import.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #7099
Closes #6464
2018-02-09 10:11:34 -08:00
..
linux.run Fix zdb -ed on objset for exported pool 2018-02-09 10:11:34 -08:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
perf-regression.run Provide tags in perf-regression.run 2017-11-07 15:06:27 -08:00