zfsonlinux/mountall — pull request #1 by mk01 (2013-01-30 04:26:19+00:00)
Title: solves dependencies problem, endless loop 

I suppose this needs fixing in mountall original code, but for the time being.

specific case like this:

fs mountpoint
zfs /zfs
zfs/home /home
zfs/home/1 /zfs/test/1
zfs/test /zfs/test

mountall ended up in an endless loop, waiting for dependencies. if mounts are read ordered by mount points, it's ok.