Skip to contentSkip to conversation

git tree for reiser4 development

DISCUSSION Arkadiusz Miskiewicz 2 participants 6 messages Nov 7, 2010

lore
Share & tools
lore
#0 lore raw

Hi.

How reiser4 is developed - is there a public git repo with development tree and if so, where?

Thanks,

Signature · 10 lines
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 2 lines · Arkadiusz Miskiewicz

Hi.

Hello.

Quoted 1 line

How reiser4 is developed

via sending patches to -mm

Quoted 3 lines

- is there a public git repo with development tree and if so, where?

There is a Namesys corporative git repo, but currently it is unavailable for public. The last commit was at November 2006, or so. I might want to put it to kernel.org..

Thanks,
Edward.

#2 lore raw
Quoted 8 lines · Edward Shishkin
Quoted 1 line · Arkadiusz Miskiewicz

Hi.

Hello.

Quoted 1 line

How reiser4 is developed

via sending patches to -mm

Ouh, mm currently has no reiser4 , so I guess it was dropped.

Quoted 6 lines
Quoted 2 lines

- is there a public git repo with development tree and if so, where?

There is a Namesys corporative git repo, but currently it is unavailable for public. The last commit was at November 2006, or so. I might want to put it to kernel.org..

Was looking for something newer - close to 2.6.36 (was actually looking for a 2.6.36 alpha/beta/rc/final patch).

Quoted 2 lines

Thanks,
Edward.

Signature · 6 lines
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 9 lines · Arkadiusz Miskiewicz
Quoted 7 lines · Edward Shishkin
Quoted 2 lines · Arkadiusz Miskiewicz

Hi.

Hello.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

How reiser4 is developed

via sending patches to -mm

Ouh, mm currently has no reiser4 , so I guess it was dropped.

No, it wasn't.
Just disabled by "depends on BROKEN" in Kconfig:
it needs to be adjusted to the latest VFS changes.

Quoted 10 lines
Quoted 8 lines
Quoted 4 lines

- is there a public git repo with development tree and if so, where?

There is a Namesys corporative git repo, but currently it is unavailable for public. The last commit was at November 2006, or so. I might want to put it to kernel.org..

Was looking for something newer - close to 2.6.36

reiser4-for-2.6.36 stuff is not yet ready.

Thanks,
Edward.

#4 lore raw
Quoted 3 lines · Edward Shishkin
Quoted 1 line

Was looking for something newer - close to 2.6.36

reiser4-for-2.6.36 stuff is not yet ready.

Dirty, untested change for .35 patch ... I assume "real" update needs more than this?

Index: kernel-reiser4.patch
===================================================================
RCS file: /cvsroot/packages/kernel/kernel-reiser4.patch,v retrieving revision 1.13
retrieving revision 1.14

kernel-reiser4.patch +17 -7
diff -u -u -r1.13 -r1.14
@@ -40016,7 +40016,7 @@
 diff -urN linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c linux-2.6.35/fs/reiser4/plugin/inode_ops.c
 --- linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.35/fs/reiser4/plugin/inode_ops.c	2010-08-04 15:44:57.000000000 +0200
-@@ -0,0 +1,906 @@
+@@ -0,0 +1,916 @@
 +/*
 + * Copyright 2005 by Hans Reiser, licensing governed by reiser4/README
 + */
@@ -40479,9 +40479,19 @@
 +				return result;
 +			}
 +		}
-+		result = inode_setattr(inode, attr);
-+		if (!result)
++
++		if ((attr->ia_valid & ATTR_SIZE) &&
++		    attr->ia_size != i_size_read(inode))
++			result = vmtruncate(inode, attr->ia_size);
++			if (result)
++				goto result_error;
++		setattr_copy(inode, attr);
++		mark_inode_dirty(inode);
++		result = 0;
++result_error:
++		if (!result) {
 +			reiser4_update_sd(inode);
++		}
 +	}
 +
 +	context_set_commit_async(ctx);
@@ -56458,7 +56468,7 @@
 +	.read = reiser4_read_careful,
 +	.write = reiser4_write_careful,
 +	.aio_read = generic_file_aio_read,
-+	.ioctl = reiser4_ioctl_careful,
++	.unlocked_ioctl = reiser4_ioctl_careful,
 +	.mmap = reiser4_mmap_careful,
 +	.open = reiser4_open_careful,
 +	.release = reiser4_release_careful,
@@ -65466,7 +65476,7 @@
 +
 +	truncate_inode_pages(&inode->i_data, 0);
 +	inode->i_blocks = 0;
-+	clear_inode(inode);
++	end_writeback(inode);
 +	reiser4_exit_context(ctx);
 +}
 +
@@ -65726,11 +65736,11 @@
 +	.alloc_inode = reiser4_alloc_inode,
 +	.destroy_inode = reiser4_destroy_inode,
 +	.dirty_inode = reiser4_dirty_inode,
-+	.delete_inode = reiser4_delete_inode,
++	.evict_inode = reiser4_delete_inode,
 +	.put_super = reiser4_put_super,
 +	.write_super = reiser4_write_super,
 +	.statfs = reiser4_statfs,
-+	.clear_inode = reiser4_clear_inode,
++//	.clear_inode = reiser4_clear_inode,
 +	.writeback_inodes = reiser4_writeback_inodes,
 +	.show_options = reiser4_show_options
 +};
Quoted 3 lines

Thanks,
Edward.

Signature · 6 lines
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
Quoted 10 lines · Arkadiusz Miskiewicz
Quoted 4 lines · Edward Shishkin
Quoted 2 lines

Was looking for something newer - close to 2.6.36

reiser4-for-2.6.36 stuff is not yet ready.

Dirty, untested change for .35 patch ... I assume "real" update needs more than this?

Yes, much more:
reiser4-for-2.6.35 stuff works incorrectly. ->write_end() methods of both file plugins should be fixed. Also reiser4 needs a ->sync_fs() method of super operations. I am working on this at my spare time.

Edward.

Quoted 80 lines

Index: kernel-reiser4.patch
===================================================================
RCS file: /cvsroot/packages/kernel/kernel-reiser4.patch,v retrieving revision 1.13
retrieving revision 1.14
diff -u -u -r1.13 -r1.14

kernel-reiser4.patch +17 -7
@@ -40016,7 +40016,7 @@
 diff -urN linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c linux-2.6.35/fs/reiser4/plugin/inode_ops.c
 --- linux-2.6.35.orig/fs/reiser4/plugin/inode_ops.c	1970-01-01 01:00:00.000000000 +0100
 +++ linux-2.6.35/fs/reiser4/plugin/inode_ops.c	2010-08-04 15:44:57.000000000 +0200
-@@ -0,0 +1,906 @@
+@@ -0,0 +1,916 @@
 +/*
 + * Copyright 2005 by Hans Reiser, licensing governed by reiser4/README
 + */
@@ -40479,9 +40479,19 @@
 +				return result;
 +			}
 +		}
-+		result = inode_setattr(inode, attr);
-+		if (!result)
++
++		if ((attr->ia_valid & ATTR_SIZE) &&
++		    attr->ia_size != i_size_read(inode))
++			result = vmtruncate(inode, attr->ia_size);
++			if (result)
++				goto result_error;
++		setattr_copy(inode, attr);
++		mark_inode_dirty(inode);
++		result = 0;
++result_error:
++		if (!result) {
 +			reiser4_update_sd(inode);
++		}
 +	}
 +
 +	context_set_commit_async(ctx);
@@ -56458,7 +56468,7 @@
 +	.read = reiser4_read_careful,
 +	.write = reiser4_write_careful,
 +	.aio_read = generic_file_aio_read,
-+	.ioctl = reiser4_ioctl_careful,
++	.unlocked_ioctl = reiser4_ioctl_careful,
 +	.mmap = reiser4_mmap_careful,
 +	.open = reiser4_open_careful,
 +	.release = reiser4_release_careful,
@@ -65466,7 +65476,7 @@
 +
 +	truncate_inode_pages(&inode->i_data, 0);
 +	inode->i_blocks = 0;
-+	clear_inode(inode);
++	end_writeback(inode);
 +	reiser4_exit_context(ctx);
 +}
 +
@@ -65726,11 +65736,11 @@
 +	.alloc_inode = reiser4_alloc_inode,
 +	.destroy_inode = reiser4_destroy_inode,
 +	.dirty_inode = reiser4_dirty_inode,
-+	.delete_inode = reiser4_delete_inode,
++	.evict_inode = reiser4_delete_inode,
 +	.put_super = reiser4_put_super,
 +	.write_super = reiser4_write_super,
 +	.statfs = reiser4_statfs,
-+	.clear_inode = reiser4_clear_inode,
++//	.clear_inode = reiser4_clear_inode,
 +	.writeback_inodes = reiser4_writeback_inodes,
 +	.show_options = reiser4_show_options
 +};
Quoted 6 lines

Thanks,
Edward.