Paul Zuchowski e2b31b58e8 Make txg_wait_synced conditional in zfsvfs_teardown
The call to txg_wait_synced in zfsvfs_teardown should
be made conditional on the objset having dirty data.
This can prevent unnecessary txg_wait_synced during
some unmount operations.

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #9115
2019-08-15 08:27:13 -06:00
..
2018-05-29 16:00:33 -07:00
2019-07-16 17:22:31 -07:00
2019-07-28 18:15:26 -07:00
2019-08-13 07:46:12 -06:00
2018-05-29 16:00:33 -07:00
2019-07-26 10:54:14 -07:00
2019-06-24 09:32:47 -07:00