[Lustre-discuss] Lustre 1.6.2 and --enable-quota broken
Niklas Edmundsson
Niklas.Edmundsson at hpc2n.umu.se
Wed Oct 10 02:34:53 PDT 2007
On Lustre 1.6.2, 2.6.18 kernel with quotas enabled I seem to be unable
to compile lustre with quotas enabled.
It seems to be the same problem as:
http://groups.google.com/group/lustre-discuss-list/browse_thread/thread/96d5e0bd61435326/b6eca1f86cfed4bc?lnk=gst&q=enable-quota&rnum=2#b6eca1f86cfed4bc
Looking in lustre/quota/quota_ctl.c I see that quota.h is only
included within __KERNEL__, but Q_QUOTAON is used in lov_quota_ctl()
which is always compiled in.
So any of these fixes might apply:
- Include sys/quota.h when not in __KERNEL__
- Only compile lov_quota_ctl() in __KERNEL__
- Something else.
In any case it's obviously broken, and determining the correct fix
requires some knowledge of the code involved.
Meanwhile I'll try various stuff and see what happens.
/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | nikke at hpc2n.umu.se
---------------------------------------------------------------------------
Dramatize: What well dressed RAM chips wear.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the lustre-discuss
mailing list