[LU-10174] Lustre master (pre-2.11) fails to build against ZFS 0.6.5.7 Created: 31/Oct/17  Updated: 11/Sep/18  Resolved: 09/Nov/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.6

Type: Bug Priority: Major
Reporter: Nathaniel Clark Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: zfs

Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Because of patch https://review.whamcloud.com/29242, master no longer builds against older ZFS versions:

/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c: In function 'osd_objset_unregister_callbacks':
/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c:808: error: 'ZFS_PROP_DNODESIZE' undeclared (first use in this function)
/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c:808: error: (Each undeclared identifier is reported only once
/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c:808: error: for each function it appears in.)
/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c: In function 'osd_objset_register_callbacks':
/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.c:846: error: 'ZFS_PROP_DNODESIZE' undeclared (first use in this function)
make[7]: *** [/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs/osd_handler.o] Error 1
make[6]: *** [/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre/osd-zfs] Error 2
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3/lustre] Error 2
make[4]: *** [_module_/tmp/rpmbuild-lustre-buildbot-g81fI3Fo/BUILD/lustre-2.10.54_43_gc2c9be3] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2

The build.lustre.org buildbot has run into this:
http://build.lustre.org/builders/CentOS%206.7%20x86_64%20%28BUILD%29/builds/11876/steps/shell_4/logs/stdio



 Comments   
Comment by Gerrit Updater [ 31/Oct/17 ]

Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/29866
Subject: LU-10174 osd-zfs: Fix build against ZFS 0.6.5.x
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2984a6196c299785ba213208a242a3e60264c65f

Comment by Gerrit Updater [ 09/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29866/
Subject: LU-10174 osd-zfs: Fix build against ZFS 0.6.5.x
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0cfb879608e5036723337ac0f8f01336ecf6b7fd

Comment by Minh Diep [ 09/Nov/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 24/Aug/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33070
Subject: LU-10174 osd-zfs: Fix build against ZFS 0.6.5.x
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 7a530c06788c95f4ea670fa703fa21f6b66141cb

Comment by Gerrit Updater [ 11/Sep/18 ]

John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/33070/
Subject: LU-10174 osd-zfs: Fix build against ZFS 0.6.5.x
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 607678164ebfdd2e175b1ea78721138b027b0474

Generated at Sat Feb 10 02:32:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.