ZFS compiles a modified version Lua 5.2 into zfs.ko and loaded into Linux kernel.
Main advantage is that it allows for multiple operations to be applied atomically, as well as better error handling.
[1]: https://www.delphix.com/blog/delphix-engineering/zfs-channel...