ZFS support weak module updates, ZFS does will not always be built for every specific kernel that is installed. Unfortunately, some directories that Lustre needs from ZFS and SPL have a kernel string embedded in them, and now that kernel string will potentially be different than the kernel that Lustre is building against.
As a work around we can update the Lustre build scripts to just select the last subdirectory that has a kernel name from the ZFS and SPL build directories as a directory that Lustre should use in its build. Its as reasonable a guess as I can figure we can easily make.
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19249/
Subject:
LU-7962build: Support builds w/ weak module ZFSProject: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c528508b4f84eaebe1024ec3e65a59fc271abf62