Skip to contentSkip to conversation

Quota-patches for 2.4.20 conflict with evms (?)

DISCUSSION Lars Grobe 2 participants 4 messages Jun 12, 2003

lore
Share & tools
lore

Lars Grobe

author
#0 lore raw

Hi there,

just setting up a test machine, we got a recent kernel (2.4.20), quota-patches
from ftp://ftp.namesys.com/pub/reiserfs-for-2.4/testing/quota-2.4.20, the newest evms (2.0.1) with the device-mapper patches (2.4.20-10).

When I make vmlinux, I get

fs/fs.o: In function `fsync_dev_lockfs':
fs/fs.o(.text+0x39f0): undefined reference to `DQUOT_SYNC'

, obviously a result from changes in the Quota-patches 05_quota-patch-2.4.15-1-2.4.16
that are to enable quota support for reiser.

So I wonder if anyone out there has been able to get reiserfs (3.x) with quotas on
evms (2.x) - or am I really the first with this crazy idea?

CU Lars.

Signature · 2 lines
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
#1 lore raw

Hi!

Quoted 7 lines

, obviously a result from changes in the Quota-patches 05_quota-patch-2.4.15-1-2.4.16
that are to enable quota support for reiser.

So I wonder if anyone out there has been able to get reiserfs (3.x) with quotas on
evms (2.x) - or am I really the first with this crazy idea?

No, you aren't. I'm not exactly sure what the current status for the quota patches for reiserfs unter linux 2.4 is, but the last time I checked, you needed to upgrade the quota implementation (some macros were renamed, like DQUOT_SYNC).

Did you get any rejects while applying the patches (look for .rej files with find -name \*.rej)?

What patches did you exactly try to apply?

If the only problem is in fs/buffer.c:

The DQUOT_SYNC in fsync_super has to be changed to DQUOT_SYNC_DB. The ones in fsync_dev and fsync_dev_lockfs into DQUOT_SYNC_DEV.

I assume that the evms code adds the VFS locking patch, which introduces the function fsync_dev_lockfs, so I suppose you just need to change the DQUOT_SYNC to DQUOT_SYNC_DEV in this file.

Signature · 1 line
Christophe Saout <[email protected]>
author
#2 lore raw

Hi!

Quoted 2 lines

Did you get any rejects while applying the patches (look for .rej files with find -name \*.rej)?

No rejects...

Quoted 1 line

What patches did you exactly try to apply?

Clean 2.4.20
+Patches:
everything from ftp://ftp.namesys.com/pub/reiserfs-for-2.4/testing/quota-2.4.20
diskmapper: 2.4.20-dm-10
evms-2.0.1
bonding-patches for 2.4

Quoted 2 lines

If the only problem is in fs/buffer.c: [...] change the DQUOT_SYNC to DQUOT_SYNC_DEV in this file.

Thank you, the kernel compiled with that! (I will know soon if it works, too...)

CU Lars.

Signature · 2 lines
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
#3 lore raw

Am Don, 2003-06-12 um 15.54 schrieb Lars Grobe:

Quoted 8 lines

Clean 2.4.20
+Patches:
everything from ftp://ftp.namesys.com/pub/reiserfs-for-2.4/testing/quota-2.4.20
diskmapper: 2.4.20-dm-10
evms-2.0.1
bonding-patches for 2.4

Quoted 5 lines
Quoted 2 lines

If the only problem is in fs/buffer.c: [...] change the DQUOT_SYNC to DQUOT_SYNC_DEV in this file.

Thank you, the kernel compiled with that! (I will know soon if it works, too...)

Ok, this should do it.

Signature · 1 line
Christophe Saout <[email protected]>