BjoKaSH / maczfs-archive

Legacy MacZFS - Archived here due Google-code shutdown. Automatically exported from code.google.com/p/maczfs -- Do Not Use! Use https://openzfsonosx.org/
Other
1 stars 0 forks source link

Infinite loop in MacZFS 75.0.3 #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After installing MacZFS 75.0.3 (8f31ace or later) there's an infinite loop in 
iterating through the filesystem children of the root volume. It looks like the 
difference is in the 'dataset hidden' returning a different value for 
ZFSPool/$MOS in 74 and either not returning the full name in 75 or not having 
the detection in place.

Original issue reported on code.google.com by alex.ble...@gmail.com on 11 Dec 2010 at 2:39

GoogleCodeExporter commented 9 years ago
Oh good grief. A new property was inserted into the ZFS IOC list, which meant 
that anything about 16 got bumped by 1. So any call was silently being 
redirected to the next one int he list ... no wonder it went horribly wrong.

Of course, this means that the newer versions of 'zfs' won't work against older 
versions of the kernel, and vice versa. But it's probably something worth 
biting off because the upstream is unlikely to change again.

There are some trails in the 10a286 that show how to fix this.

Original comment by alex.ble...@gmail.com on 12 Dec 2010 at 2:22

GoogleCodeExporter commented 9 years ago
Pushed a fix in 1221a07b1025f3f91bd4c6ee4218801320fed5b8 to address this issue, 
with thanks to the kind people behind the zfs10a286 branch who gave guidance on 
how to fix it (by proxy)

Original comment by alex.ble...@gmail.com on 12 Dec 2010 at 2:54

GoogleCodeExporter commented 9 years ago

Original comment by alex.ble...@gmail.com on 12 Dec 2010 at 2:56