Re: Reiser4 for 2.6.19

2006-12-04 Thread Guilherme Covolo
great job :)

Em Domingo 03 Dezembro 2006 11:49, Laurent Riffard escreveu:
> [this is a repost, since half of my previous mails didn't reach
>  reiserfs mailing-list]
>
> Hi,
>
> There is 10 patches in this series, first one is "Reiser4 for 2.6.18
> version 3". It's made up from the last Namesys Reiser4 patch for vanilla
> kernel
> (http://ftp.namesys.com/pub/reiser4-for-2.6/2.6.18/reiser4-for-2.6.18-3.pat
>ch.gz), updated to apply cleanly on top of 2.6.19 kernel. One can
> alternatively apply the original patch from Namesys
> (reiser4-for-2.6.18-3.patch.gz) on top of 2.6.19 kernel, it will
> successfully apply with some oddities.
>
> The 9 next patches are compile-fixes for 2.6.19 or bug-fixes I picked up
> from reiserfs mailing-list.
>
> Andrew Wade (3):
> Reiser4: fix use after free in jrelse_tail
> Reiser4: release d_ref
> Reiser4: release d_ref (fix)
>
> Edward Shishkin (2):
> Reiser4 for 2.6.18 version 3
> reiser4-generic_file_read-fix
>
> Laurent Riffard (5):
> Reiser4: cometics changes in mm/filemap.c.
> Reiser4: fix calls to kmem_cache_destroy
> Reiser4: Replace inode.u.generic_ip with inode.i_private
> Reiser4: inode.i_blksize suppression
> Reiser4: remove unnecessary config.h includes.
>
> The whole series is available as in a single patch:
> http://laurent.riffard.free.fr/reiser4/reiser4-for-2.6.19.patch.gz.
>
> I'm not a filesystem guru, nor I'm affiliated with Namesys. These
> patches just suit my needs. It works for me and I hope it will help
> somebody else.
>
> ~~
> laurent


Re: reiser4 experimental patch

2006-11-10 Thread Guilherme Covolo
i change my patch, now is equals of the  
Johannes Hirte's patch .. only difference is my patch have the comment /* 
change */ in the source. 

run on x86_64 fine! :)

my patch and the Johannes Hirte's patch is linked in my site, 
www.youare.not.br 

thanks to all!

Em Sexta 10 Novembro 2006 12:42, [EMAIL PROTECTED] escreveu:
> On Fri, 10 Nov 2006 10:59:30 -0200, Guilherme Covolo said:
> > the diference between my an  Johannes Hirte's patch is:
> > *
> >
> > /fs/reiser4/super_ops.c
> >
> > 290c290
> > < static int reiser4_statfs(struct dentry *dentry, struct kstatfs
> > *statfs) ---
> >
> > > static int reiser4_statfs(struct super_block *super, struct kstatfs
> > > *statfs
>
> diff -c or diff -u please.  That way, if some unrelated thing moves the
> lines up or down 1 or 2, it still applies.  Also, it's easier to look at a
> 'diff -u' and understand what's going on, because you get to see 3-4 lines
> either side of the changed lines.
>
> > i change my super_ops.c but why you alter te int to ssize_t on item.h?
>
> ssize_t isn't an int on some architectures, it's a 'long'.  As a result if
> you reference a 32 bit value where you should use 64, you'll certainly
> end up with something unexpected (probably an oops).


Re: reiser4 experimental patch

2006-11-10 Thread Guilherme Covolo
the diference between my an  Johannes Hirte's patch is:

/fs/reiser4/plugins/item/item.h

<   ssize_t (*write) (struct file *, const char __user *, size_t, loff_t 
*pos);
---
>   int (*write) (struct file *, const char __user *, size_t, loff_t 
*pos);
*

/fs/reiser4/super_ops.c

290c290
< static int reiser4_statfs(struct dentry *dentry, struct kstatfs *statfs)
---
> static int reiser4_statfs(struct super_block *super, struct kstatfs *statfs)
292,293d291
<   struct super_block *super = dentry->d_sb;
<
571a570,571
>
> // alterado
575,576c575
< void *data,
< struct vfsmount *mnt)
---
> void *data, struct vfsmount *mnt)
582c581,582
< static struct file_system_type reiser4_fs_type = {
---
> // alterado
> struct file_system_type reiser4_fs_type = {
*

i change my super_ops.c but why you alter te int to ssize_t on item.h?

()'s

Em Sexta 10 Novembro 2006 09:57, Guilherme Covolo escreveu:
> Em Sexta 10 Novembro 2006 09:44, Johannes Hirte escreveu:
> > Am Freitag, 10. November 2006 00:39 schrieb [EMAIL PROTECTED]:
> > > thanks for answer! :)
> > >
> > > so, the patch compiles fine (one warning in super_ops.c), the FS boot
> > > correctly, but if i execute for exemple startx, kernel panic! i compile
> > > reiser4 built in with debug, i will send the error (kernel panic) to
> > > the list tomorow because i'm now in my house, and the experinet is on
> > > my work computer :)
> >
> > I didn't look closer on your patch, but you shouldn't get a warning in
> > super_ops.c. Which compiler do you use?
> > Can you try the patch, I've made?
> > http://www.stud.tu-ilmenau.de/~johi-in/patch-reiser4-2.6.18.bz2
>
> Hello,
>
> i use gcc 3.4.6 on slamd64 (www.slamd64.com), x86_64.
>
> i will try your patch :)
>
> i'm on-line now on irc.oftc.net nick smyows #reiser4 and my nootebook is on
> [EMAIL PROTECTED] ...
>
> error from boot today..
>
> reiser4 panicked cowaedly: reiser4[mount(1909)]: check_blocks_bitmap
> (fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed:
> reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset,
> start_offset) >= end_offset
>
> Kernel panic - not syncing: reiser4[mount(1909)]: check_blocks_bitmap
> (fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed:
> reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset,
> start_offset) >= end_offset
>
> ...
>
> yesterday give some error but in /fs/reiser4/context.c line 79
>
> i reboot the computer and works now.
>
> i'll compare the super_ops.c :)
>
> thaks


Re: reiser4 experimental patch

2006-11-10 Thread Guilherme Covolo
Em Sexta 10 Novembro 2006 09:44, Johannes Hirte escreveu:
> Am Freitag, 10. November 2006 00:39 schrieb [EMAIL PROTECTED]:
> > thanks for answer! :)
> >
> > so, the patch compiles fine (one warning in super_ops.c), the FS boot
> > correctly, but if i execute for exemple startx, kernel panic! i compile
> > reiser4 built in with debug, i will send the error (kernel panic) to the
> > list tomorow because i'm now in my house, and the experinet is on my work
> > computer :)
>
> I didn't look closer on your patch, but you shouldn't get a warning in
> super_ops.c. Which compiler do you use?
> Can you try the patch, I've made?
> http://www.stud.tu-ilmenau.de/~johi-in/patch-reiser4-2.6.18.bz2

Hello, 

i use gcc 3.4.6 on slamd64 (www.slamd64.com), x86_64.

i will try your patch :) 

i'm on-line now on irc.oftc.net nick smyows #reiser4 and my nootebook is on 
[EMAIL PROTECTED] ... 

error from boot today..

reiser4 panicked cowaedly: reiser4[mount(1909)]: check_blocks_bitmap 
(fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed: 
reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset, 
start_offset) >= end_offset

Kernel panic - not syncing: reiser4[mount(1909)]: check_blocks_bitmap 
(fs/reiser4/plugin/space/bitmap.c:1268)[zam-623]: assertion failed: 
reiser4_find_next_zero_bit(bnode_working_data(bnode), end_offset, 
start_offset) >= end_offset

... 

yesterday give some error but in /fs/reiser4/context.c line 79

i reboot the computer and works now.

i'll compare the super_ops.c :)

thaks


reiser4 experimental patch

2006-11-09 Thread Guilherme Covolo
hello guys,

my experimental patch need modfications on fs/reiser4/context.c

i need help ;)


reiser4-for-2.6.18 series :)

2006-11-09 Thread Guilherme Covolo
hi people!

i made patch of reiser4 for linux-2.6.18! o/ port of reiser4-for-2.6.17-3 to 
2.6.18.

sorry my english ;)

have fun!

http://www.youare.not.br download here!