This revision fix the D7178 revision.
The patch is rebase on current and a queue applies all changes
in order between concurrent zfs rename and promote.
The queue protected by a mutex uses a condvar to wait for other
dataset changes to finish and keep order between calls.