Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-11024 osd-zfs: properly detect ZFS dnode accounting
[fs/lustre-release.git]
/
config
/
lustre-build-zfs.m4
diff --git
a/config/lustre-build-zfs.m4
b/config/lustre-build-zfs.m4
index
6debc60
..
0bcdf20
100644
(file)
--- a/
config/lustre-build-zfs.m4
+++ b/
config/lustre-build-zfs.m4
@@
-522,11
+522,11
@@
your distribution.
dnl #
dnl # ZFS 0.7.0 feature: SPA_FEATURE_USEROBJ_ACCOUNTING
dnl #
dnl #
dnl # ZFS 0.7.0 feature: SPA_FEATURE_USEROBJ_ACCOUNTING
dnl #
- LB_CHECK_COMPILE([if
zfs
has native dnode accounting supported],
- dmu_objset_
id_quota_upgrade
, [
+ LB_CHECK_COMPILE([if
ZFS
has native dnode accounting supported],
+ dmu_objset_
userobjused_enabled
, [
#include <sys/dmu_objset.h>
],[
#include <sys/dmu_objset.h>
],[
- dmu_objset_
id_quota_upgrade
(NULL);
+ dmu_objset_
userobjused_enabled
(NULL);
],[
AC_DEFINE(HAVE_DMU_USEROBJ_ACCOUNTING, 1,
[Have native dnode accounting in ZFS])
],[
AC_DEFINE(HAVE_DMU_USEROBJ_ACCOUNTING, 1,
[Have native dnode accounting in ZFS])