On Friday 30 September 2005 02:09, Jake Maciejewski wrote:
> I get the same with 2.6.13.2 and gcc 3.4.4 on amd64
>
can you try this patch?
-----------------------------------
--- a/fs/reiser4/spin_macros.h
+++ b/fs/reiser4/spin_macros.h
@@ -82,8 +82,6 @@ typedef struct reiser4_rw_data {
 static inline void spin_ ## NAME ## _init(TYPE *x)                             
\
 {                                                                              
\
        __ODCA("nikita-2987", x != NULL);                                       
\
-       cassert(sizeof(x->FIELD) != 0);                                         
\
-       memset(& x->FIELD, 0, sizeof x->FIELD);                                 
\
        spin_lock_init(& x->FIELD.lock);                                        
\
 }                                                                              
\
                                                                                
\
@@ -236,7 +234,6 @@ typedef struct { int foo; } NAME ## _spi
 static inline void rw_ ## NAME ## _init(TYPE *x)                               
\
 {                                                                              
\
        __ODCA("nikita-2988", x != NULL);                                       
\
-       memset(& x->FIELD, 0, sizeof x->FIELD);                                 
\
        rwlock_init(& x->FIELD.lock);                                           
\
 }                                                                              
\
                                                                                
\
-----------------------------------
> On Thu, 2005-09-29 at 20:24 +0200, Łukasz Mierzwa wrote:
> > Dnia Thu, 29 Sep 2005 19:25:54 +0200, Hans Reiser <[EMAIL PROTECTED]>
> >
> > napisał:
> > > Reiser4 performance dropped in the -mm series due to the write
> > > throttling patch and also dropped due to a fixed bug (removing type
> > > safe lists added a bug).  We don't yet know if we got quite all the
> > > performance back, we are still testing.  Conservative users should wait
> > > a week or two to see if bug reports with reiser4 remain, or if indeed
> > > we did get all the bugs out  of the recent cleanup patch.
> > >
> > > Hans
> >
> >    CC      fs/proc/kmsg.o
> >    CC      fs/proc/proc_tty.o
> >    CC      fs/proc/proc_misc.o
> >    CC      fs/proc/kcore.o
> >    LD      fs/proc/proc.o
> >    LD      fs/proc/built-in.o
> >    CC      fs/ramfs/inode.o
> >    LD      fs/ramfs/ramfs.o
> >    LD      fs/ramfs/built-in.o
> >    CC      fs/reiser4/debug.o
> > In file included from fs/reiser4/lock.h:15,
> >                   from fs/reiser4/context.h:14,
> >                   from fs/reiser4/debug.c:25:
> > fs/reiser4/txnmgr.h: In function 'spin_atom_init':
> > fs/reiser4/txnmgr.h:512: error: duplicate case value
> > fs/reiser4/txnmgr.h:512: error: previously used here
> > fs/reiser4/txnmgr.h: In function 'spin_txnh_init':
> > fs/reiser4/txnmgr.h:513: error: duplicate case value
> > fs/reiser4/txnmgr.h:513: error: previously used here
> > fs/reiser4/txnmgr.h: In function 'spin_txnmgr_init':
> > fs/reiser4/txnmgr.h:514: error: duplicate case value
> > fs/reiser4/txnmgr.h:514: error: previously used here
> > In file included from fs/reiser4/context.h:14,
> >                   from fs/reiser4/debug.c:25:
> > fs/reiser4/lock.h: In function 'spin_stack_init':
> > fs/reiser4/lock.h:198: error: duplicate case value
> > fs/reiser4/lock.h:198: error: previously used here
> > In file included from fs/reiser4/znode.h:16,
> >                   from fs/reiser4/tree.h:15,
> >                   from fs/reiser4/super.h:9,
> >                   from fs/reiser4/debug.c:26:
> > fs/reiser4/jnode.h: In function 'spin_jnode_init':
> > fs/reiser4/jnode.h:344: error: duplicate case value
> > fs/reiser4/jnode.h:344: error: previously used here
> > fs/reiser4/jnode.h: In function 'spin_jload_init':
> > fs/reiser4/jnode.h:348: error: duplicate case value
> > fs/reiser4/jnode.h:348: error: previously used here
> > In file included from fs/reiser4/super.h:9,
> >                   from fs/reiser4/debug.c:26:
> > fs/reiser4/tree.h: In function 'spin_epoch_init':
> > fs/reiser4/tree.h:169: error: duplicate case value
> > fs/reiser4/tree.h:169: error: previously used here
> > In file included from fs/reiser4/debug.c:26:
> > fs/reiser4/super.h: In function 'spin_super_init':
> > fs/reiser4/super.h:379: error: duplicate case value
> > fs/reiser4/super.h:379: error: previously used here
> > make[2]: *** [fs/reiser4/debug.o] Błąd 1
> > make[1]: *** [fs/reiser4] Błąd 2
> > make: *** [fs] Błąd 2
> >
> > amd64 gentoo box running gcc 4.0.1, 2.6.13 +
> > reiser4-for-2.6.13-1.patch.gz

Reply via email to