Sign in

← Software

Code OpenZFS removed that illumos keeps (zfs remap, vdev cache)

titleCode OpenZFS removed that illumos keeps (zfs remap, vdev cache)
recommendationdefer
directionillumos-only
areaporting
feature flag
openzfs version2.0.0
summaryillumos still has 'zfs remap' and the 'remap' delegation; OpenZFS removed the code in 2.0.0 (59ec30a32: 'little utility and introduced some tricky bugs'), keeping the ioctl as a no-op. illumos also keeps vdev_cache.c, which OpenZFS dropped in 2.2.0 (70ea484e3, long disabled).
impactNo user-visible gain; it is extra divergence that makes each OpenZFS import harder.
whyRemoving them would ease future ports, but it is not urgent.
effortsmall
sourceshttps://github.com/openzfs/zfs/commit/59ec30a3290d865b98e3805df6c82b6b4f88aab0
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/cmd/zfs/zfs_main.c
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/uts/common/fs/zfs/vdev_cache.c
https://github.com/openzfs/zfs/commit/70ea484e3ec56c529c6c5027ffc43840100ce224

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.