All of lore.kernel.org
 help / color / mirror / Atom feed
* Quota-patches for 2.4.20 conflict with evms (?)
@ 2003-06-12 13:20 Lars Grobe
  2003-06-12 13:37 ` Christophe Saout
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Grobe @ 2003-06-12 13:20 UTC (permalink / raw)
  To: reiserfs-list

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.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Quota-patches for 2.4.20 conflict with evms (?)
  2003-06-12 13:20 Quota-patches for 2.4.20 conflict with evms (?) Lars Grobe
@ 2003-06-12 13:37 ` Christophe Saout
  2003-06-12 13:54   ` Lars Grobe
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Saout @ 2003-06-12 13:37 UTC (permalink / raw)
  To: Lars Grobe; +Cc: reiserfs-list

Hi!

> , 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.

-- 
Christophe Saout <christophe@saout.de>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Quota-patches for 2.4.20 conflict with evms (?)
  2003-06-12 13:37 ` Christophe Saout
@ 2003-06-12 13:54   ` Lars Grobe
  2003-06-12 14:05     ` Christophe Saout
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Grobe @ 2003-06-12 13:54 UTC (permalink / raw)
  To: Christophe Saout; +Cc: reiserfs-list

Hi!

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

No rejects...

> 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

> 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.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Quota-patches for 2.4.20 conflict with evms (?)
  2003-06-12 13:54   ` Lars Grobe
@ 2003-06-12 14:05     ` Christophe Saout
  0 siblings, 0 replies; 4+ messages in thread
From: Christophe Saout @ 2003-06-12 14:05 UTC (permalink / raw)
  To: Lars Grobe; +Cc: reiserfs-list

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

> 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
> 
> > 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.

-- 
Christophe Saout <christophe@saout.de>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-12 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-12 13:20 Quota-patches for 2.4.20 conflict with evms (?) Lars Grobe
2003-06-12 13:37 ` Christophe Saout
2003-06-12 13:54   ` Lars Grobe
2003-06-12 14:05     ` Christophe Saout

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.