Skip to contentSkip to conversation

New reiser4 snapshot (as of August 22, 2003)

DISCUSSION Oleg Drokin 9 participants 15 messages Aug 22, 2003 – Aug 23, 2003

lore
Share & tools
lore
#0 lore raw

Hello!

I have just released new snapshot of reiser4.
Release notes follows.
Give it a try.

Reiser4 snapshot for 2003.08.22

WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!

Fixed builds for 64bit arches (there are still some warnings, but it should work now, I hope). Fixed some bugs.
There are still some stability problems on SMP machines that we are working on.

If you used reiser4progs from last snapshot (August 11th), you need to upgrade those to fix critical largekeys bug in mkfs.reiser4

Snapshot is released as a patch against linux-2.6.0-test3-bk9.
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository.
It does not contains any reiser4 code
The reiser4.diff is full patch with everything included.
2.6.0-test3-bk9.diff.gz is a patch you need to apply on top of vanilla 2.6.0-test3 before applying reiser4 patches.

Changelog (extracted by "bk changes"):

[email protected], 2003-08-22 00:37:09+04:00, [email protected]
more fixes for the repacker: extent relocation, space reservation, transaction handling.

[email protected], 2003-08-21 21:58:17+04:00, [email protected]
trace.c:
Adapt to new mapping_gfp_mask/mapping_set_gfp_mask() way to access mapping's gfp_mask

[email protected], 2003-08-21 21:44:44+04:00, [email protected]
cryptcompress.c:
Added shorten_cryptcompress() for truncate method

[email protected], 2003-08-21 18:49:48+04:00, [email protected]
cryptcompress.c:
Fixed

[email protected], 2003-08-20 22:16:39+04:00, [email protected]
fixing trivial bugs in the repacker code (using of not initialized vars)

[email protected], 2003-08-20 22:10:56+04:00, [email protected]
cryptcompress.c:
Added append_hole_cryptcompress()
Cleanups in next_cluster_stat()

[email protected], 2003-08-20 17:27:40+04:00, [email protected]
undo last fix.

[email protected], 2003-08-20 17:04:31+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Changed status of cluster index
cryptcompress.c:
Changed page_of_cluster(),
Added file_to_clust_count(),
Cleanups.

[email protected], 2003-08-19 23:11:45+04:00, [email protected]
a race in renew_sibling_link() fix.

[email protected], 2003-08-19 22:24:03+04:00, [email protected]
cryptcompress.c:
Changed update_cluster().
write_cryptcompress_flow() was rewritten in accordance with these changes.
Cleanups.

[email protected], 2003-08-19 21:18:07+04:00, [email protected]
forgot to remove #endif

[email protected], 2003-08-19 21:10:38+04:00, [email protected]
solving FIXMEs

[email protected], 2003-08-19 17:34:11+04:00, [email protected]
introducing reiser4 own error codes E_REPEAT, E_DEADLOCK

[email protected], 2003-08-19 14:45:30+04:00, [email protected]
comment update

[email protected], 2003-08-18 20:41:55+04:00, [email protected]
cryptcompress.c:
Cleanups.
Added checking of cluster invariants.

[email protected], 2003-08-18 16:36:41+04:00, [email protected]
ctail.h:
rename
ctail.c, cryptcompress.c:
index-offset converting for pages and clusters

[email protected], 2003-08-18 15:47:24+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-18 15:45:10+04:00, [email protected]
fix "off-by-many" error in new truncate code

[email protected], 2003-08-18 15:44:34+04:00, [email protected]
remove wrong assertion

[email protected], 2003-08-18 10:57:28+04:00, [email protected]
jnode.c:
jnode_check stub fix.

[email protected], 2003-08-17 23:36:11+04:00, [email protected]
reiser4 compilable again

[email protected], 2003-08-17 23:21:20+04:00, [email protected]
endless loop fix in the repacker code.

[email protected], 2003-08-17 21:41:44+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into bitshadow.namesys.com:/home/reiser/reiser4

[email protected], 2003-08-17 21:40:19+04:00, [email protected]
c

[email protected], 2003-08-17 21:39:36+04:00, [email protected]
c

[email protected], 2003-08-15 23:36:42+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 23:23:30+04:00, [email protected]
more bitmap code fixes and tree_walk is teached to take write locks on twig level after restart.

[email protected], 2003-08-15 14:35:11+04:00, [email protected]
cleanup

[email protected], 2003-08-15 09:34:47+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 09:28:41+04:00, [email protected]
bitmap backward scan code fixes.

[email protected], 2003-08-15 09:27:55+04:00, [email protected]
`len' might be used unitialized.

[email protected], 2003-08-14 15:19:16+04:00, [email protected]
fix typo.

[email protected], 2003-08-14 15:17:21+04:00, [email protected]
update

[email protected], 2003-08-14 15:15:29+04:00, [email protected]
supress warning.

[email protected], 2003-08-14 15:14:23+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-08-14 15:14:10+04:00, [email protected]
tail conversion fixes.

[email protected], 2003-08-14 14:51:09+04:00, [email protected]
don't update stat data during tail conversion

[email protected], 2003-08-14 14:47:03+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-14 14:43:48+04:00, [email protected]
add prototype

[email protected], 2003-08-14 14:40:54+04:00, [email protected]
restore compilability

[email protected], 2003-08-14 14:40:06+04:00, [email protected]
kill unused code

[email protected], 2003-08-14 14:39:15+04:00, [email protected]
sync with progs

[email protected], 2003-08-14 14:38:58+04:00, [email protected]
tail conversion fixes

[email protected], 2003-08-14 14:38:34+04:00, [email protected]
transaction manager fixes

[email protected], 2003-08-14 14:38:20+04:00, [email protected]
never mark unloaded znode dirty

[email protected], 2003-08-14 14:37:37+04:00, [email protected]
cleanup

[email protected], 2003-08-14 14:35:42+04:00, [email protected]
debugging code for jload()

[email protected], 2003-08-14 14:35:20+04:00, [email protected]
add znode generation

[email protected], 2003-08-13 22:46:06+04:00, [email protected]
move "debugging" function atom_is_open() to debug.c as Hans asked.

[email protected], 2003-08-13 22:31:40+04:00, [email protected]
wrong set_bits usage in bitmap backward search.

[email protected], 2003-08-13 22:00:54+04:00, [email protected]
object.c, cryptcompress.h:
rename
ctail.h:
added lookup_bias argument in find_cluster_items()
ctail.c:
added append_cluster_key_ctail
file.c:
shared setattr_reserve()
cryptcompress.c:

    Added:
      .setattr_cryptcompress(),
      .cryptcompress_truncate(),
      .find_file_idx()

[email protected], 2003-08-13 18:28:46+04:00, [email protected]
inode.h:
fixed parenthesis balance

[email protected], 2003-08-13 18:18:50+04:00, [email protected]
inode.h:
Remove unneded function definitions

[email protected], 2003-08-13 18:15:48+04:00, [email protected]
inode.h:
Prevent loss of databits while shifting

[email protected], 2003-08-13 18:13:15+04:00, [email protected]
inode.h, inode.c:
inode[sg]et_oid only called macroses, so renamed macros and got rid of functions

[email protected], 2003-08-13 18:12:06+04:00, [email protected]
context.c:
Recent fix reintroduced old warning. So fixed the fix.

[email protected], 2003-08-13 17:12:35+04:00, [email protected]
Makefile:
Remove -Wcast-align, as it produces lots of unneeded and confusing warnings
plugin_hash.c:
replace incorrect casts to __u32 with casts to unsigned long
context.c:
remove unneeded cast to u32
znode.h:
Replace wrong cast to int with cast to long
plugin_set.h, plugin_set.c:
__u32casts are wrong, replace them with unsigned long
pseudo.c:
Replace erroneous int casts to casts to long

[email protected], 2003-08-13 15:54:49+04:00, [email protected]
scint.h:
MAde scint_init_once() to return int on 64 bit platforms (to conform to 32bit ones). Made scint_init to return 0 to avoid warning

[email protected], 2003-08-13 15:53:54+04:00, [email protected]
inode.h, inode.c:
introduce inode[sg]et_oid() to fix 64 bit build problems.

[email protected], 2003-08-13 15:16:12+04:00, [email protected]
inode.c:
add FIXME about not checking scint return value

[email protected], 2003-08-13 08:02:18+04:00, [email protected]
bitmap code fixes.

[email protected], 2003-08-11 21:55:08+04:00, [email protected]
item.c:
changed can_contain_key item method for ctails
ctail.h:
added prototypes
ctail.c:
Added:
can_contain_key_ctail,
init_ctail,
overwrite_ctail.
Changed:
paste_ctail
flush.h:
fixed

#1 lore raw

This needs to be fixed - it doesn't compile

GCC version is 3.3.1

CC fs/reiser4/txnmgr.o
fs/reiser4/txnmgr.c:3326: error: parse error before "do" fs/reiser4/txnmgr.c:3332: error: parse error before "do" fs/reiser4/txnmgr.c:3343: warning: type defaults to int' in declaration of pos_in_atom'
fs/reiser4/txnmgr.c:3343: warning: passing arg 1 of `capture_list_next' makes pointer from integer without a cast fs/reiser4/txnmgr.c:3343: warning: initialization makes integer from pointer without a cast
fs/reiser4/txnmgr.c:3343: error: initializer element is not constant fs/reiser4/txnmgr.c:3343: error: parse error before ')' token fs/reiser4/txnmgr.c:3346: error: parse error before string constant fs/reiser4/txnmgr.c:3346: warning: type defaults to int' in declaration of printk'
fs/reiser4/txnmgr.c:3346: warning: function declaration isn't a prototype
fs/reiser4/txnmgr.c:3346: warning: data definition has no type or storage class
fs/reiser4/txnmgr.c:3350: warning: type defaults to int' in declaration of pos_in_atom'
fs/reiser4/txnmgr.c:3350: error: redefinition of pos_in_atom' fs/reiser4/txnmgr.c:3343: error: pos_in_atom' previously defined here fs/reiser4/txnmgr.c:3350: warning: passing arg 1 of `capture_list_next' makes pointer from integer without a cast fs/reiser4/txnmgr.c:3350: warning: initialization makes integer from pointer without a cast
fs/reiser4/txnmgr.c:3350: error: initializer element is not constant fs/reiser4/txnmgr.c:3350: warning: type defaults to int' in declaration of capture_list_next'
fs/reiser4/txnmgr.c:3350: warning: parameter names (without types) in function declaration
fs/reiser4/txnmgr.c:3350: error: conflicting types for `capture_list_next'
fs/reiser4/jnode.h:152: error: previous declaration of `capture_list_next'
fs/reiser4/txnmgr.c:3350: error: parse error before ')' token fs/reiser4/txnmgr.c:3352: error: parse error before string constant fs/reiser4/txnmgr.c:3352: warning: type defaults to int' in declaration of printk'
fs/reiser4/txnmgr.c:3352: warning: function declaration isn't a prototype
fs/reiser4/txnmgr.c:3352: warning: data definition has no type or storage class
{standard input}: Assembler messages:
{standard input}:4612: Error: symbol `pos_in_atom' is already defined make[2]: *** [fs/reiser4/txnmgr.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Quoted 287 lines · Oleg Drokin

Hello!

I have just released new snapshot of reiser4.
Release notes follows.
Give it a try.

Reiser4 snapshot for 2003.08.22

WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!

Fixed builds for 64bit arches (there are still some warnings, but it should work now, I hope). Fixed some bugs.
There are still some stability problems on SMP machines that we are working on.

If you used reiser4progs from last snapshot (August 11th), you need to upgrade those to fix critical largekeys bug in mkfs.reiser4

Snapshot is released as a patch against linux-2.6.0-test3-bk9.
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository.
It does not contains any reiser4 code
The reiser4.diff is full patch with everything included.
2.6.0-test3-bk9.diff.gz is a patch you need to apply on top of vanilla 2.6.0-test3 before applying reiser4 patches.

Changelog (extracted by "bk changes"):

[email protected], 2003-08-22 00:37:09+04:00, [email protected]
more fixes for the repacker: extent relocation, space reservation, transaction handling.

[email protected], 2003-08-21 21:58:17+04:00, [email protected]
trace.c:
Adapt to new mapping_gfp_mask/mapping_set_gfp_mask() way to access mapping's gfp_mask

[email protected], 2003-08-21 21:44:44+04:00, [email protected]
cryptcompress.c:
Added shorten_cryptcompress() for truncate method

[email protected], 2003-08-21 18:49:48+04:00, [email protected]
cryptcompress.c:
Fixed

[email protected], 2003-08-20 22:16:39+04:00, [email protected]
fixing trivial bugs in the repacker code (using of not initialized vars)

[email protected], 2003-08-20 22:10:56+04:00, [email protected]
cryptcompress.c:
Added append_hole_cryptcompress()
Cleanups in next_cluster_stat()

[email protected], 2003-08-20 17:27:40+04:00, [email protected]
undo last fix.

[email protected], 2003-08-20 17:04:31+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Changed status of cluster index
cryptcompress.c:
Changed page_of_cluster(),
Added file_to_clust_count(),
Cleanups.

[email protected], 2003-08-19 23:11:45+04:00, [email protected]
a race in renew_sibling_link() fix.

[email protected], 2003-08-19 22:24:03+04:00, [email protected]
cryptcompress.c:
Changed update_cluster().
write_cryptcompress_flow() was rewritten in accordance with these changes.
Cleanups.

[email protected], 2003-08-19 21:18:07+04:00, [email protected]
forgot to remove #endif

[email protected], 2003-08-19 21:10:38+04:00, [email protected]
solving FIXMEs

[email protected], 2003-08-19 17:34:11+04:00, [email protected]
introducing reiser4 own error codes E_REPEAT, E_DEADLOCK

[email protected], 2003-08-19 14:45:30+04:00, [email protected]
comment update

[email protected], 2003-08-18 20:41:55+04:00, [email protected]
cryptcompress.c:
Cleanups.
Added checking of cluster invariants.

[email protected], 2003-08-18 16:36:41+04:00, [email protected]
ctail.h:
rename
ctail.c, cryptcompress.c:
index-offset converting for pages and clusters

[email protected], 2003-08-18 15:47:24+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-18 15:45:10+04:00, [email protected]
fix "off-by-many" error in new truncate code

[email protected], 2003-08-18 15:44:34+04:00, [email protected]
remove wrong assertion

[email protected], 2003-08-18 10:57:28+04:00, [email protected]
jnode.c:
jnode_check stub fix.

[email protected], 2003-08-17 23:36:11+04:00, [email protected]
reiser4 compilable again

[email protected], 2003-08-17 23:21:20+04:00, [email protected]
endless loop fix in the repacker code.

[email protected], 2003-08-17 21:41:44+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into bitshadow.namesys.com:/home/reiser/reiser4

[email protected], 2003-08-17 21:40:19+04:00, [email protected]
c

[email protected], 2003-08-17 21:39:36+04:00, [email protected]
c

[email protected], 2003-08-15 23:36:42+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 23:23:30+04:00, [email protected]
more bitmap code fixes and tree_walk is teached to take write locks on twig level after restart.

[email protected], 2003-08-15 14:35:11+04:00, [email protected]
cleanup

[email protected], 2003-08-15 09:34:47+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 09:28:41+04:00, [email protected]
bitmap backward scan code fixes.

[email protected], 2003-08-15 09:27:55+04:00, [email protected]
`len' might be used unitialized.

[email protected], 2003-08-14 15:19:16+04:00, [email protected]
fix typo.

[email protected], 2003-08-14 15:17:21+04:00, [email protected]
update

[email protected], 2003-08-14 15:15:29+04:00, [email protected]
supress warning.

[email protected], 2003-08-14 15:14:23+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-08-14 15:14:10+04:00, [email protected]
tail conversion fixes.

[email protected], 2003-08-14 14:51:09+04:00, [email protected]
don't update stat data during tail conversion

[email protected], 2003-08-14 14:47:03+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-14 14:43:48+04:00, [email protected]
add prototype

[email protected], 2003-08-14 14:40:54+04:00, [email protected]
restore compilability

[email protected], 2003-08-14 14:40:06+04:00, [email protected]
kill unused code

[email protected], 2003-08-14 14:39:15+04:00, [email protected]
sync with progs

[email protected], 2003-08-14 14:38:58+04:00, [email protected]
tail conversion fixes

[email protected], 2003-08-14 14:38:34+04:00, [email protected]
transaction manager fixes

[email protected], 2003-08-14 14:38:20+04:00, [email protected]
never mark unloaded znode dirty

[email protected], 2003-08-14 14:37:37+04:00, [email protected]
cleanup

[email protected], 2003-08-14 14:35:42+04:00, [email protected]
debugging code for jload()

[email protected], 2003-08-14 14:35:20+04:00, [email protected]
add znode generation

[email protected], 2003-08-13 22:46:06+04:00, [email protected]
move "debugging" function atom_is_open() to debug.c as Hans asked.

[email protected], 2003-08-13 22:31:40+04:00, [email protected]
wrong set_bits usage in bitmap backward search.

[email protected], 2003-08-13 22:00:54+04:00, [email protected]
object.c, cryptcompress.h:
rename
ctail.h:
added lookup_bias argument in find_cluster_items()
ctail.c:
added append_cluster_key_ctail
file.c:
shared setattr_reserve()
cryptcompress.c:

    Added:
      .setattr_cryptcompress(),
      .cryptcompress_truncate(),
      .find_file_idx()

[email protected], 2003-08-13 18:28:46+04:00, [email protected]
inode.h:
fixed parenthesis balance

[email protected], 2003-08-13 18:18:50+04:00, [email protected]
inode.h:
Remove unneded function definitions

[email protected], 2003-08-13 18:15:48+04:00, [email protected]
inode.h:
Prevent loss of databits while shifting

[email protected], 2003-08-13 18:13:15+04:00, [email protected]
inode.h, inode.c:
inode[sg]et_oid only called macroses, so renamed macros and got rid of functions

[email protected], 2003-08-13 18:12:06+04:00, [email protected]
context.c:
Recent fix reintroduced old warning. So fixed the fix.

[email protected], 2003-08-13 17:12:35+04:00, [email protected]
Makefile:
Remove -Wcast-align, as it produces lots of unneeded and confusing warnings
plugin_hash.c:
replace incorrect casts to __u32 with casts to unsigned long
context.c:
remove unneeded cast to u32
znode.h:
Replace wrong cast to int with cast to long
plugin_set.h, plugin_set.c:
__u32casts are wrong, replace them with unsigned long
pseudo.c:
Replace erroneous int casts to casts to long

[email protected], 2003-08-13 15:54:49+04:00, [email protected]
scint.h:
MAde scint_init_once() to return int on 64 bit platforms (to conform to 32bit ones). Made scint_init to return 0 to avoid warning

[email protected], 2003-08-13 15:53:54+04:00, [email protected]
inode.h, inode.c:
introduce inode[sg]et_oid() to fix 64 bit build problems.

[email protected], 2003-08-13 15:16:12+04:00, [email protected]
inode.c:
add FIXME about not checking scint return value

[email protected], 2003-08-13 08:02:18+04:00, [email protected]
bitmap code fixes.

[email protected], 2003-08-11 21:55:08+04:00, [email protected]
item.c:
changed can_contain_key item method for ctails
ctail.h:
added prototypes
ctail.c:
Added:
can_contain_key_ctail,
init_ctail,
overwrite_ctail.
Changed:
paste_ctail
flush.h:
fixed

#2 lore raw
Quoted 1 line · David Nielsen

This needs to be fixed - it doesn't compile

Oops. As a work around, please, turn on REISER4_DEBUG_OUTPUT ("Printing" in reiser4 debug option sub menu).

Quoted 3 lines

GCC version is 3.3.1

Nikita.

Quoted 1 line

CC fs/reiser4/txnmgr.o

#3 lore raw

Not enough to just enable printing - and your code throws so many warnings it's close to being scary (truely alpha... I love it)

I think the hack around would be to disable syscall support if I'm correct?

fs/reiser4/sys_reiser4.c:54:32: parser/parser.code.c: No such file or directory
fs/reiser4/sys_reiser4.c: In function `sys_reiser4':
fs/reiser4/sys_reiser4.c:75: warning: implicit declaration of function `reiser4_pars_init'
fs/reiser4/sys_reiser4.c:75: warning: assignment makes pointer from integer without a cast
fs/reiser4/sys_reiser4.c:80: error: dereferencing pointer to incomplete type
fs/reiser4/sys_reiser4.c:82: warning: implicit declaration of function yyparse'fs/reiser4/sys_reiser4.c:83: warning: implicit declaration of function reiser4_pars_free'
fs/reiser4/sys_reiser4.c:66: warning: unused variable `Gencode' fs/reiser4/sys_reiser4.c: At top level:
fs/reiser4/parser/parser.h:333: warning: Fistmsg' defined but not used fs/reiser4/parser/parser.h:342: warning: typesOfCommand' defined but not used
fs/reiser4/parser/parser.h:354: warning: `Code' defined but not used

Quoted 13 lines · Nikita Danilov
Quoted 1 line · David Nielsen

This needs to be fixed - it doesn't compile

Oops. As a work around, please, turn on REISER4_DEBUG_OUTPUT ("Printing" in reiser4 debug option sub menu).

Quoted 3 lines

GCC version is 3.3.1

Nikita.

Quoted 1 line

CC fs/reiser4/txnmgr.o

#4 lore raw
Quoted 2 lines · David Nielsen

Not enough to just enable printing - and your code throws so many warnings it's close to being scary (truely alpha... I love it)

This is for really adventurous. :)

Quoted 3 lines

I think the hack around would be to disable syscall support if I'm correct?

yes.

Quoted 21 lines

fs/reiser4/sys_reiser4.c:54:32: parser/parser.code.c: No such file or directory
fs/reiser4/sys_reiser4.c: In function `sys_reiser4':
fs/reiser4/sys_reiser4.c:75: warning: implicit declaration of function `reiser4_pars_init'
fs/reiser4/sys_reiser4.c:75: warning: assignment makes pointer from integer without a cast
fs/reiser4/sys_reiser4.c:80: error: dereferencing pointer to incomplete type
fs/reiser4/sys_reiser4.c:82: warning: implicit declaration of function yyparse'fs/reiser4/sys_reiser4.c:83: warning: implicit declaration of function reiser4_pars_free'
fs/reiser4/sys_reiser4.c:66: warning: unused variable `Gencode' fs/reiser4/sys_reiser4.c: At top level:
fs/reiser4/parser/parser.h:333: warning: Fistmsg' defined but not used fs/reiser4/parser/parser.h:342: warning: typesOfCommand' defined but not used
fs/reiser4/parser/parser.h:354: warning: `Code' defined but not used

Quoted 11 lines
Quoted 10 lines · Nikita Danilov
Quoted 1 line · David Nielsen

This needs to be fixed - it doesn't compile

Oops. As a work around, please, turn on REISER4_DEBUG_OUTPUT ("Printing" in reiser4 debug option sub menu).

Quoted 3 lines

GCC version is 3.3.1

Nikita.

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

CC fs/reiser4/txnmgr.o

#5 lore raw

The entire thing then fails with these messages - no notable compile errors or warnings present.

fs/built-in.o(.text+0x9a8cd): In function `print_context':
: undefined reference to info_atom' fs/built-in.o(.text+0x9e392): In function commit_current_atom':
: undefined reference to info_atom' fs/built-in.o(.text+0xa0577): In function print_atom':
: undefined reference to `info_atom'
make: *** [.tmp_vmlinux1] Error 1

Seems this patch might have benefited from a compile test at least? :)

regards David

#6 lore raw

Am Sa, 2003-08-23 um 01.47 schrieb David Nielsen:

Quoted 10 lines

The entire thing then fails with these messages - no notable compile errors or warnings present.

fs/built-in.o(.text+0x9a8cd): In function `print_context':
: undefined reference to info_atom' fs/built-in.o(.text+0x9e392): In function commit_current_atom':
: undefined reference to info_atom' fs/built-in.o(.text+0xa0577): In function print_atom':
: undefined reference to `info_atom'
make: *** [.tmp_vmlinux1] Error 1

You need to set CONFIG_REISER4_DEBUG to yes. I didn't find the entry in menuconfig, but you can to that in the .config file directly.

Quoted 1 line

Seems this patch might have benefited from a compile test at least? :)

It does, it's a bit tricky though. BTW: Which version of yacc is needed exactly to create the parser? I tried applying the diff file to various versions but none did match.

The fs doesn't seem to stand my stress test anyway. I copied my whole filesystem to a newly created reiser4 volume, and tried to boot from that. The first thing I noticed it that remount or sync when its mounted read-only makes it go boom (never-ending emergency flushs). I tricked the init script to leave it read-write and I got to my X login, could log in, but then the system freezed hard. :(

My subjective feeling was that booting time was about the same as with reiser3 even if the files weren't fragmented.

--
Christophe Saout <[email protected]>
Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html

#7 lore raw
In reply to David Nielsen

I worked around this by adding an empty info_atom in reiser4/txnmgr.c :

void
info_atom(const char *prefix, txn_atom * atom)

{
        return;
}

After that, reiser4 compiles and is running without problem here so
far (just tried a few minutes of fsx-linux and a few small compilations. I'll launch a mozilla-firebird build soon and see if it survives better this time).

BTW : compilation as a module is still broken for me, but it could be my fault as I'm using an -mm kernel...
(For information, missing symbols are: max_sane_readahead, generic_sync_sb_inodes, truncate_mapping_pages_range, balance_dirty_pages_ratelimited, inodes_stat, nr_free_pagecache_pages, get_full_page_state, destroy_inode)

Sidenote to reiserfs devels : if the merge in mainstream is still far away, is any integration of reiser4 into the -mm serie considered ? It would ease testing a lot...

Vincent

Quoted 16 lines · David Nielsen

The entire thing then fails with these messages - no notable compile errors or warnings present.

fs/built-in.o(.text+0x9a8cd): In function `print_context':
: undefined reference to info_atom' fs/built-in.o(.text+0x9e392): In function commit_current_atom':
: undefined reference to info_atom' fs/built-in.o(.text+0xa0577): In function print_atom':
: undefined reference to `info_atom'
make: *** [.tmp_vmlinux1] Error 1

Seems this patch might have benefited from a compile test at least? :)

regards David

#8 lore raw

Could I ask you guys to stop CCing me, I'm on the list - filling my inbox with dupes is cruel :)

- David

Quoted 45 lines · Vince

I worked around this by adding an empty info_atom in reiser4/txnmgr.c :

void
info_atom(const char *prefix, txn_atom * atom)

{
         return;
}

After that, reiser4 compiles and is running without problem here so
far (just tried a few minutes of fsx-linux and a few small compilations. I'll launch a mozilla-firebird build soon and see if it survives better this time).

BTW : compilation as a module is still broken for me, but it could be my fault as I'm using an -mm kernel...
(For information, missing symbols are: max_sane_readahead, generic_sync_sb_inodes, truncate_mapping_pages_range, balance_dirty_pages_ratelimited, inodes_stat, nr_free_pagecache_pages, get_full_page_state, destroy_inode)

Sidenote to reiserfs devels : if the merge in mainstream is still far away, is any integration of reiser4 into the -mm serie considered ? It would ease testing a lot...

Vincent

Quoted 16 lines · David Nielsen

The entire thing then fails with these messages - no notable compile errors or warnings present.

fs/built-in.o(.text+0x9a8cd): In function `print_context':
: undefined reference to info_atom' fs/built-in.o(.text+0x9e392): In function commit_current_atom':
: undefined reference to info_atom' fs/built-in.o(.text+0xa0577): In function print_atom':
: undefined reference to `info_atom'
make: *** [.tmp_vmlinux1] Error 1

Seems this patch might have benefited from a compile test at least? :)

regards David

#9 lore raw
In reply to Vince

I'd like to second that, patches against -mm would be a very good option.

On Sat, 23 Aug 2003 02:25:59 +0200, Vince wrote:

(...)

Quoted 6 lines

Sidenote to reiserfs devels : if the merge in mainstream is still far away, is any integration of reiser4 into the -mm serie considered ? It would ease testing a lot...

Vincent

#10 lore raw
In reply to David Nielsen
Quoted 11 lines · David Nielsen

The entire thing then fails with these messages - no notable compile errors or warnings present.

fs/built-in.o(.text+0x9a8cd): In function `print_context':
: undefined reference to info_atom' fs/built-in.o(.text+0x9e392): In function commit_current_atom':
: undefined reference to info_atom' fs/built-in.o(.text+0xa0577): In function print_atom':
: undefined reference to `info_atom'
make: *** [.tmp_vmlinux1] Error 1

Quoted 9 lines

Seems this patch might have benefited from a compile test at least? :)

regards David

agreed.

Signature · 1 line
Hans
#11 lore raw
In reply to Oleg Drokin
Quoted 18 lines · Oleg Drokin

Hello!

I have just released new snapshot of reiser4.
Release notes follows.
Give it a try.

Reiser4 snapshot for 2003.08.22

WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!

Fixed builds for 64bit arches (there are still some warnings, but it should work now, I hope). Fixed some bugs.
There are still some stability problems on SMP machines that we are working on.

If you used reiser4progs from last snapshot (August 11th), you need to upgrade those to fix critical largekeys bug in mkfs.reiser4

Quoted 9 lines

Snapshot is released as a patch against linux-2.6.0-test3-bk9.
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository.
It does not contains any reiser4 code
The reiser4.diff is full patch with everything included

Are these patches available outside of bitkeeper, and if so, where are they located?

-Tupshin

#14 lore raw
In reply to Oleg Drokin

Okay I have had the Reiser4 snapshot managing my /home for a good few hours and while the patch itself was... very experimental... I'm completely blown away but the exellent speed Reiser4 provides me for usertasks.

Here's my favorite show off so far:

patch your gtk+-2.2.2 with this:
http://members1.chello.nl/~h.lai/gtkenhancements/

leave all the exports at their defaults, this way the fileselector will try to sort filetypes, causing some noticable slowdowns when clicking open...

That was on ReiserFS3 - then I gave /home Reiser4 goodness and the slowdown is completely gone it just pops up...

Please note I have a good few 100's of files in my home dir so sorting is a considerable task.

good job guys, but please compile test next time :)

- David Nielsen

Quoted 287 lines · Oleg Drokin

Hello!

I have just released new snapshot of reiser4.
Release notes follows.
Give it a try.

Reiser4 snapshot for 2003.08.22

WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!

Fixed builds for 64bit arches (there are still some warnings, but it should work now, I hope). Fixed some bugs.
There are still some stability problems on SMP machines that we are working on.

If you used reiser4progs from last snapshot (August 11th), you need to upgrade those to fix critical largekeys bug in mkfs.reiser4

Snapshot is released as a patch against linux-2.6.0-test3-bk9.
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository.
It does not contains any reiser4 code
The reiser4.diff is full patch with everything included.
2.6.0-test3-bk9.diff.gz is a patch you need to apply on top of vanilla 2.6.0-test3 before applying reiser4 patches.

Changelog (extracted by "bk changes"):

[email protected], 2003-08-22 00:37:09+04:00, [email protected]
more fixes for the repacker: extent relocation, space reservation, transaction handling.

[email protected], 2003-08-21 21:58:17+04:00, [email protected]
trace.c:
Adapt to new mapping_gfp_mask/mapping_set_gfp_mask() way to access mapping's gfp_mask

[email protected], 2003-08-21 21:44:44+04:00, [email protected]
cryptcompress.c:
Added shorten_cryptcompress() for truncate method

[email protected], 2003-08-21 18:49:48+04:00, [email protected]
cryptcompress.c:
Fixed

[email protected], 2003-08-20 22:16:39+04:00, [email protected]
fixing trivial bugs in the repacker code (using of not initialized vars)

[email protected], 2003-08-20 22:10:56+04:00, [email protected]
cryptcompress.c:
Added append_hole_cryptcompress()
Cleanups in next_cluster_stat()

[email protected], 2003-08-20 17:27:40+04:00, [email protected]
undo last fix.

[email protected], 2003-08-20 17:04:31+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Changed status of cluster index
cryptcompress.c:
Changed page_of_cluster(),
Added file_to_clust_count(),
Cleanups.

[email protected], 2003-08-19 23:11:45+04:00, [email protected]
a race in renew_sibling_link() fix.

[email protected], 2003-08-19 22:24:03+04:00, [email protected]
cryptcompress.c:
Changed update_cluster().
write_cryptcompress_flow() was rewritten in accordance with these changes.
Cleanups.

[email protected], 2003-08-19 21:18:07+04:00, [email protected]
forgot to remove #endif

[email protected], 2003-08-19 21:10:38+04:00, [email protected]
solving FIXMEs

[email protected], 2003-08-19 17:34:11+04:00, [email protected]
introducing reiser4 own error codes E_REPEAT, E_DEADLOCK

[email protected], 2003-08-19 14:45:30+04:00, [email protected]
comment update

[email protected], 2003-08-18 20:41:55+04:00, [email protected]
cryptcompress.c:
Cleanups.
Added checking of cluster invariants.

[email protected], 2003-08-18 16:36:41+04:00, [email protected]
ctail.h:
rename
ctail.c, cryptcompress.c:
index-offset converting for pages and clusters

[email protected], 2003-08-18 15:47:24+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-18 15:45:10+04:00, [email protected]
fix "off-by-many" error in new truncate code

[email protected], 2003-08-18 15:44:34+04:00, [email protected]
remove wrong assertion

[email protected], 2003-08-18 10:57:28+04:00, [email protected]
jnode.c:
jnode_check stub fix.

[email protected], 2003-08-17 23:36:11+04:00, [email protected]
reiser4 compilable again

[email protected], 2003-08-17 23:21:20+04:00, [email protected]
endless loop fix in the repacker code.

[email protected], 2003-08-17 21:41:44+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into bitshadow.namesys.com:/home/reiser/reiser4

[email protected], 2003-08-17 21:40:19+04:00, [email protected]
c

[email protected], 2003-08-17 21:39:36+04:00, [email protected]
c

[email protected], 2003-08-15 23:36:42+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 23:23:30+04:00, [email protected]
more bitmap code fixes and tree_walk is teached to take write locks on twig level after restart.

[email protected], 2003-08-15 14:35:11+04:00, [email protected]
cleanup

[email protected], 2003-08-15 09:34:47+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-08-15 09:28:41+04:00, [email protected]
bitmap backward scan code fixes.

[email protected], 2003-08-15 09:27:55+04:00, [email protected]
`len' might be used unitialized.

[email protected], 2003-08-14 15:19:16+04:00, [email protected]
fix typo.

[email protected], 2003-08-14 15:17:21+04:00, [email protected]
update

[email protected], 2003-08-14 15:15:29+04:00, [email protected]
supress warning.

[email protected], 2003-08-14 15:14:23+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-08-14 15:14:10+04:00, [email protected]
tail conversion fixes.

[email protected], 2003-08-14 14:51:09+04:00, [email protected]
don't update stat data during tail conversion

[email protected], 2003-08-14 14:47:03+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-08-14 14:43:48+04:00, [email protected]
add prototype

[email protected], 2003-08-14 14:40:54+04:00, [email protected]
restore compilability

[email protected], 2003-08-14 14:40:06+04:00, [email protected]
kill unused code

[email protected], 2003-08-14 14:39:15+04:00, [email protected]
sync with progs

[email protected], 2003-08-14 14:38:58+04:00, [email protected]
tail conversion fixes

[email protected], 2003-08-14 14:38:34+04:00, [email protected]
transaction manager fixes

[email protected], 2003-08-14 14:38:20+04:00, [email protected]
never mark unloaded znode dirty

[email protected], 2003-08-14 14:37:37+04:00, [email protected]
cleanup

[email protected], 2003-08-14 14:35:42+04:00, [email protected]
debugging code for jload()

[email protected], 2003-08-14 14:35:20+04:00, [email protected]
add znode generation

[email protected], 2003-08-13 22:46:06+04:00, [email protected]
move "debugging" function atom_is_open() to debug.c as Hans asked.

[email protected], 2003-08-13 22:31:40+04:00, [email protected]
wrong set_bits usage in bitmap backward search.

[email protected], 2003-08-13 22:00:54+04:00, [email protected]
object.c, cryptcompress.h:
rename
ctail.h:
added lookup_bias argument in find_cluster_items()
ctail.c:
added append_cluster_key_ctail
file.c:
shared setattr_reserve()
cryptcompress.c:

    Added:
      .setattr_cryptcompress(),
      .cryptcompress_truncate(),
      .find_file_idx()

[email protected], 2003-08-13 18:28:46+04:00, [email protected]
inode.h:
fixed parenthesis balance

[email protected], 2003-08-13 18:18:50+04:00, [email protected]
inode.h:
Remove unneded function definitions

[email protected], 2003-08-13 18:15:48+04:00, [email protected]
inode.h:
Prevent loss of databits while shifting

[email protected], 2003-08-13 18:13:15+04:00, [email protected]
inode.h, inode.c:
inode[sg]et_oid only called macroses, so renamed macros and got rid of functions

[email protected], 2003-08-13 18:12:06+04:00, [email protected]
context.c:
Recent fix reintroduced old warning. So fixed the fix.

[email protected], 2003-08-13 17:12:35+04:00, [email protected]
Makefile:
Remove -Wcast-align, as it produces lots of unneeded and confusing warnings
plugin_hash.c:
replace incorrect casts to __u32 with casts to unsigned long
context.c:
remove unneeded cast to u32
znode.h:
Replace wrong cast to int with cast to long
plugin_set.h, plugin_set.c:
__u32casts are wrong, replace them with unsigned long
pseudo.c:
Replace erroneous int casts to casts to long

[email protected], 2003-08-13 15:54:49+04:00, [email protected]
scint.h:
MAde scint_init_once() to return int on 64 bit platforms (to conform to 32bit ones). Made scint_init to return 0 to avoid warning

[email protected], 2003-08-13 15:53:54+04:00, [email protected]
inode.h, inode.c:
introduce inode[sg]et_oid() to fix 64 bit build problems.

[email protected], 2003-08-13 15:16:12+04:00, [email protected]
inode.c:
add FIXME about not checking scint return value

[email protected], 2003-08-13 08:02:18+04:00, [email protected]
bitmap code fixes.

[email protected], 2003-08-11 21:55:08+04:00, [email protected]
item.c:
changed can_contain_key item method for ctails
ctail.h:
added prototypes
ctail.c:
Added:
can_contain_key_ctail,
init_ctail,
overwrite_ctail.
Changed:
paste_ctail
flush.h:
fixed