ZFS master doesn't define DN_MAX_BONUSLEN which is still used by osd-zfs.
LU-8713 Load zfs modules during libzfs_init
LU-9816 kernel upgrade [RHEL7.4 3.10.0-693.el7]
LU-9845 ost-pools test_22 hangs with ‘WARNING: Pool 'lustre-mdt1' has encountered an uncorrectable I/O failure and has been suspended.’
LU-8424 osd_object.c:1330:22: error: 'DN_MAX_BONUSLEN' undeclared (first use in this function) DMU_OT_SA, DN_MAX_BONUSLEN, tx);