NAS-116495 / 22.12 / convert most of sysdataset plugin to sync
There were quite a few IO calls being made outside of threads.
Jira URL: https://jira.ixsystems.com/browse/NAS-116495
Noticed while looking at some async path validator code.
Sorry, but it looks so messy now... I don't see why these methods should be asynchronous in the first place, can we just make them entirely synchronous?
Yeah, that's fair. I'll make them synchronous.
Will run through jenkins tests tomorrow. This currently depends on pool.dataset.mountpoint endpoint which is being added in a separate PR by Vlad.
@anodos325 can you rebase this please before we review?
@anodos325 can you rebase this please before we review?
Hmm... we should have coordinated sysdataset changes while this was pending.
@themylogin ready for review
No unexpected regressions with integration tests on non-HA or HA systems. HA failover is still functional with these changes. I'm merging.