2003-09-12 16:16:31

by Oleg Drokin

[permalink] [raw]
Subject: New reiser4 snapshot (2003.09.12) is out

Hello!

Another reiser4 snapshot was released today. This time it is against
2.6.0-test5.
Please take note that DISK DORMAT IS CHANGED, so you need to recreate
your reiser4 filesystems (if you have any). This involves getting new
reiser4progs, too.

The snapshot is available from http://www.namesys.com/snapshots/2003.09.12

Full release notes are below:

Reiser4 snapshot for 2003.09.12

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

Fixed some bugs. Hide some config options that might lead to problems in
compiling/running.
Readonly mounts (and hence - reiser4 as rootfs) are still not supported.
Some OOM problems are still inplace too (involves mmap-dirtying lots of pages).

reiser4progs: You need to get new reiser4progs. Diskformat is changed in backwards
incompatible manner, and so you need to recreate all your reiser4 volumes.
fsck.reiser4 still is not functional

Snapshot is released as a patch against linux-2.6.0-test5
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.

Changelog (extracted by "bk changes"):

[email protected], 2003-09-11 22:00:25+04:00, [email protected]
wrong assertions: grabbed blocks should not be less than @count.

[email protected], 2003-09-11 21:40:11+04:00, [email protected]
add assertions for catching space reservation problems

[email protected], 2003-09-11 18:36:37+04:00, [email protected]
always relocate if JNODE_REPACK is set

[email protected], 2003-09-11 18:35:49+04:00, [email protected]
debugging print supoort for JNODE_REPACK.

[email protected], 2003-09-10 22:06:39+04:00, [email protected]
cryptcompress.c:
Fixed bugs

[email protected], 2003-09-10 18:49:42+04:00, [email protected]
bitmap backward scanning bug fix: it was possible to allocate more blocks than it
was allowed by @max_len argument.

[email protected], 2003-09-10 12:29:18+04:00, [email protected]
handle_pos_on_formatted: wrong assertion removed

[email protected], 2003-09-09 18:45:22+04:00, [email protected]
clean up.
respect queue congestion.

[email protected], 2003-09-09 18:44:49+04:00, [email protected]
cleanup.

[email protected], 2003-09-09 18:44:33+04:00, [email protected]
mark error returns as such.

[email protected], 2003-09-09 18:44:07+04:00, [email protected]
avoid race between ->releasepage() and znode allocation:
remove page from radix tree manually.

[email protected], 2003-09-08 19:38:13+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into angband.namesys.com:/home/green/bk_work/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-09-08 19:38:01+04:00, [email protected]
plugin.h, object.c, static_stat.c, page_cache.c, inode.c:
get rid of kdev_t stuff

[email protected], 2003-09-08 19:22:49+04:00, [email protected]
for a while

[email protected], 2003-09-08 18:55:22+04:00, [email protected]
static_stat.c:
Fixed bug: set inode flag REISER4_CLUSTER_KNOWN
in cluster_sd_save()
cryptcompress.h:
More comments
cryptcompress.c:
Fixed bug: do not read new cluster from disk.

[email protected], 2003-09-08 17:16:03+04:00, [email protected]
sync with VM changes

[email protected], 2003-09-08 17:06:47+04:00, [email protected]
fix error in last commit

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

[email protected], 2003-09-08 16:18:21+04:00, [email protected]
check for concurrent node insertion in link_left_and_right()

[email protected], 2003-09-08 16:17:50+04:00, [email protected]
don't block ktxnmgrd on atom fusion.

[email protected], 2003-09-08 16:09:28+04:00, [email protected]

[email protected], 2003-09-08 15:21:22+04:00, [email protected]
cryptcompress.c:
Check value returned by scint_pack

[email protected], 2003-09-08 14:45:19+04:00, [email protected]
unnecessary function call removed

[email protected], 2003-09-08 14:25:12+04:00, [email protected]
comments

[email protected], 2003-09-08 14:23:19+04:00, [email protected]
remove inline from shared not inline function.

[email protected], 2003-09-05 21:05:59+04:00, [email protected]
flush.c:
Handling of empty nodes after squeeze_node() on leaf level

[email protected], 2003-09-05 19:43:59+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-09-05 19:43:31+04:00, [email protected]
move init_context() out of &inode_lock

[email protected], 2003-09-05 19:43:06+04:00, [email protected]
fix race

[email protected], 2003-09-05 19:42:52+04:00, [email protected]
remove assertion

[email protected], 2003-09-05 16:49:27+04:00, [email protected]
read_extent: bug fix

[email protected], 2003-09-05 15:23:28+04:00, [email protected]
Merge

[email protected], 2003-09-05 15:12:01+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-05 15:11:36+04:00, [email protected]
cleanup

[email protected], 2003-09-05 13:08:39+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-09-05 10:04:03+04:00, [email protected]
reiser4 sysfs interface: device attr. output change.

[email protected], 2003-09-04 22:08:15+04:00, [email protected]
ctail.c:
Added cut_ctail()

[email protected], 2003-09-04 21:50:51+04:00, [email protected]
option for use yacc

[email protected], 2003-09-04 19:11:57+04:00, [email protected]
item.h, ctail.h:
cleanups
ctail.c, flush.c:
attach/detach squeeze item data was moved from squeeze_node()
to squeeze() flush item plugin

[email protected], 2003-09-04 19:11:26+04:00, [email protected]
cleanup

[email protected], 2003-09-04 19:07:34+04:00, [email protected]
add mmap support to nfs_fh_stale.c

[email protected], 2003-09-04 19:07:15+04:00, [email protected]
disable these noisy debugging messages.

[email protected], 2003-09-04 19:06:57+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 18:47:24+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:28:30+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:19:05+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-09-04 18:01:57+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 18:01:02+04:00, [email protected]
manual pull

[email protected], 2003-09-04 17:15:22+04:00, [email protected]
kill dead debugging code

[email protected], 2003-09-04 17:03:04+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 15:59:01+04:00, [email protected]
find_extent_slum_size: corrected assertions

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

[email protected], 2003-09-04 15:19:33+04:00, [email protected]
add more consistency checks for jnode

[email protected], 2003-09-04 15:17:33+04:00, [email protected]
add functions to print most wanted znodes

[email protected], 2003-09-04 15:17:04+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 15:16:49+04:00, [email protected]
add /sys/fs/reiser4/*/contexts

[email protected], 2003-09-04 15:14:54+04:00, [email protected]
remove obsolete ->zgen statistics

[email protected], 2003-09-04 11:57:58+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-04 11:57:47+04:00, [email protected]
shorten_file: use current file size

[email protected], 2003-09-04 11:54:36+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 11:43:09+04:00, [email protected]
conflict resolution

[email protected], 2003-09-03 20:10:46+04:00, [email protected]
ctail.c, flush.c:
fixed

[email protected], 2003-09-03 19:19:07+04:00, [email protected]
cleanup

[email protected], 2003-09-03 19:17:18+04:00, [email protected]
remove ->zgen

[email protected], 2003-09-03 19:16:39+04:00, [email protected]
remove dead code

[email protected], 2003-09-03 17:41:58+04:00, [email protected]
flush.c:
comments

[email protected], 2003-09-03 14:55:24+04:00, [email protected]
ctail.c, cryptcompress.c:
cleanups
cryptcompress.h:
comments, cleanups

[email protected], 2003-09-03 14:44:45+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-09-03 14:44:29+04:00, [email protected]
lock neighboring formatted nodes and pass them down to the extent deletion code

[email protected], 2003-09-03 13:29:38+04:00, [email protected]
cde.c:
Removed dead code.

[email protected], 2003-09-02 19:24:55+04:00, [email protected]
tail.c:
Removed redundant stuff in lookup_tail().
extent.c:
Removed redundant stuff in lookup_extent().

[email protected], 2003-09-02 18:34:24+04:00, [email protected]
object.c, item.c, ctail.h, ctail.c, cryptcompress.h:
cleanups
cryptcompress.c:
Added capture(), delete() methods for cryptcompress object plugin.

[email protected], 2003-09-02 14:23:49+04:00, [email protected]
bug fixes, debugging code

[email protected], 2003-09-02 13:18:32+04:00, [email protected]
cut_or_kill_units: bug fix

[email protected], 2003-09-01 22:48:04+04:00, [email protected]
add "device" sysfs attribute for reiser4 kobject.

[email protected], 2003-09-01 21:41:00+04:00, [email protected]
object.c:
added mmap() for cryptcompress objects
item.c:
init_coord_extension for ctails
cryptcompress.c:
added get_block() for cryptcompress objects

[email protected], 2003-09-01 18:28:10+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-01 18:28:02+04:00, [email protected]
cleanups, fixes

[email protected], 2003-09-01 14:12:37+04:00, [email protected]
sync with changes in prepare_twig_cut()

[email protected], 2003-09-01 14:12:10+04:00, [email protected]
set JNODE_DKSET bit

[email protected], 2003-09-01 14:11:39+04:00, [email protected]
assertion was rendered invalid by recent chamges in prepare_twig_cut()

[email protected], 2003-09-01 11:34:02+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-30 21:21:18+04:00, [email protected]
plugin.h:
Split cryptcompress specific info in reiser4_object_create data
into crypto/compression/cluster info to enable unspecified ones.
static_stat.c:
Allocating space for crypto_stat moved from save_crypto_sd() to create_cryptcompress()
item.c:
init kill_hook method for ctail items.
ctail.h:
cleanup
cryptcompress.c:
Create method for cryptcompression objects was changed to enable
creation with unspecified crypto/compression info (the create method
instals zero plugins).

[email protected], 2003-08-30 18:26:50+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-30 18:26:35+04:00, [email protected]
set_hint: hint is extended by lock mode. This is to distinguish hint set by read and write

[email protected], 2003-08-30 18:22:28+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-29 22:53:49+04:00, [email protected]
the repacker: one more extent scanning loop fix.

[email protected], 2003-08-29 22:51:51+04:00, [email protected]
the repacker: blocknr hint update after extent relocation, extent scan loop fix.

[email protected], 2003-08-29 19:42:55+04:00, [email protected]
vfs_ops.c:
Do not assign any inode stats in reiser4_statfs. Big numbers seems to confurse all df implementations out there.

[email protected], 2003-08-29 18:56:58+04:00, [email protected]
the repacker: update blocknr_hint after successful block allocation

[email protected], 2003-08-29 18:23:25+04:00, [email protected]
page_cache.c:
We need jprivate in there, because zero private field is completely legal and even handled

[email protected], 2003-08-29 17:26:28+04:00, [email protected]
dir.h, dir.c, hashed_dir.c:
Make rename properly update times of parent directories, export update_times->reiser4_update_times

[email protected], 2003-08-29 15:27:30+04:00, [email protected]
file.c:
Do not update anything other than atime when file is unpacked.

[email protected], 2003-08-29 12:52:00+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-29 12:51:48+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-29 12:44:55+04:00, [email protected]
conflict resolved

[email protected], 2003-08-29 11:26:47+04:00, [email protected]
static_stat.c:
Fixed compile. Actually now that we can have either rdev or bytes field, we probably may need to print only one of those, too

[email protected], 2003-08-28 19:40:16+04:00, [email protected]
fix precedence.

[email protected], 2003-08-28 19:34:44+04:00, [email protected]
fix read ahead code

[email protected], 2003-08-28 19:34:29+04:00, [email protected]
limit atom size

[email protected], 2003-08-28 19:34:06+04:00, [email protected]
add more checks for jnode consistency

[email protected], 2003-08-28 19:33:36+04:00, [email protected]
fix compilation errors

[email protected], 2003-08-28 19:30:39+04:00, [email protected]
remove noisy compiler options

[email protected], 2003-08-28 19:20:40+04:00, [email protected]
rearrange fields

[email protected], 2003-08-28 19:06:57+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c, cryptcompress.h, cryptcompress.c:
Audited read_some_cluster_pages(), do_readpage_ctail()

[email protected], 2003-08-28 18:14:06+04:00, [email protected]
rdev fix?

[email protected], 2003-08-28 14:34:37+04:00, [email protected]
cryptcompress.c:
helper init operation for cluster handle

[email protected], 2003-08-28 12:19:11+04:00, [email protected]
calculate stat->blocks right

[email protected], 2003-08-28 12:13:03+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-28 12:12:57+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-28 12:11:41+04:00, [email protected]
conflict resolved

[email protected], 2003-08-28 08:36:43+04:00, [email protected]
the repacker: add missing deadllocation of relocatable blocks.

[email protected], 2003-08-28 07:42:03+04:00, [email protected]
missing JF_SET(, JNODE_RELOC) caused space reservation problems (zam-940).

[email protected], 2003-08-27 22:50:08+04:00, [email protected]
the repacker: extent relocation is rewritten to fix space reservation problems.

[email protected], 2003-08-27 21:23:29+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Added kill_hook method for ctail items
cryptcompress.c:
Added shorten_cryptcompress()

[email protected], 2003-08-27 16:36:36+04:00, [email protected]
ctail.c:
Fixed bugs

[email protected], 2003-08-26 17:17:32+04:00, [email protected]
change interface of flush_some_atom(): pass writeback_control so that
pdflush can be distinguised from balance_dirty_pages()

[email protected], 2003-08-26 16:31:58+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-26 14:59:32+04:00, [email protected]
fix of wrong result block calculation from bmap number and offset in bitmap_alloc_forward()

Bye,
Oleg


2003-09-13 11:18:42

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: New reiser4 snapshot (2003.09.12) is out

On Fri, 2003-09-12 at 18:15, Oleg Drokin wrote:
> Hello!
>
> Another reiser4 snapshot was released today. This time it is against
> 2.6.0-test5.
> Please take note that DISK DORMAT IS CHANGED, so you need to recreate
> your reiser4 filesystems (if you have any). This involves getting new
> reiser4progs, too.
>
> The snapshot is available from http://www.namesys.com/snapshots/2003.09.12

I've downloaded libaal and reiser4progs as noted above. I applied the
whole reiser4.diff to 2.6.0-test5-bk3, but, when I run:

# mkfs.reiser4 /dev/hda4
# mount -t reiser4 /dev/hda4 /mnt

I get the following oops:

reiser4[mount(306)]: parse_node40
(fs/reiser4/plugin/node/node40.c:745)[nikita-494]:
WARNING: Wrong level found in node: 2 != 0
reiser4[mount(306)]: key_warning
(fs/reiser4/plugin/object.c:86)[nikita-717]:
WARNING: Error for inode 42 (-5)
Unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
c01ae82d
*pde = 00000000
Oops: 0000 [#1]
CPU: 0
EIP: 0060:[<c01ae82d>] Not tainted
EFLAGS: 00010286
EIP is at inode_detach_jnode+0x1d/0xa0
eax: 00000000 ebx: cc627d80 ecx: cc627d80 edx: c80b8054
esi: c16d0000 edi: 00000000 ebp: c10dd4c8 esp: c16d1c1c
ds: 007b es: 007b ss: 0068
Process mount (pid: 306, threadinfo=c16d0000 task=ce87b900)
Stack: c10dd4c8 ffffe000 cc627d80 c16d0000 00000000 c01ae988 cc627d80
c16d0000
c01ae9cd cc627d80 cc627d80 c01cf8b8 cc627d80 cc627d80 cee30680
c16d0000
c01c2f51 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Call Trace:
[<c01ae988>] unhash_unformatted_node_nolock+0x58/0x80
[<c01ae9cd>] unhash_unformatted_jnode+0x1d/0x40
[<c01cf8b8>] reiser4_invalidatepage+0xd8/0x160
[<c01c2f51>] dealloc_wmap+0x31/0x40
[<c013fef7>] do_invalidatepage+0x27/0x30
[<c013ff7f>] truncate_complete_page+0x7f/0x90
[<c0140170>] truncate_inode_pages+0x100/0x2a0
[<c016c99f>] wake_up_inode+0xf/0x30
[<c0172d1b>] write_inode_now+0x4b/0x90
[<c016c4ae>] generic_forget_inode+0x14e/0x170
[<c016c552>] iput+0x62/0x90
[<c01c670d>] done_formatted_fake+0x4d/0x60
[<c01cddba>] reiser4_fill_super+0x44a/0x630
[<c0159754>] get_sb_bdev+0x124/0x160
[<c01ce19f>] reiser4_get_sb+0x2f/0x40
[<c01cd970>] reiser4_fill_super+0x0/0x630
[<c01599bf>] do_kern_mount+0x5f/0xe0
[<c016f2c8>] do_add_mount+0x78/0x160
[<c016f5d4>] do_mount+0x134/0x180
[<c016f490>] copy_mount_options+0xe0/0xf0
[<c016f99f>] sys_mount+0xbf/0x140
[<c010941b>] syscall_call+0x7/0xb

Code: 8b 38 ff 46 14 8d 9f 24 ff ff ff 8b 51 14 89 0c 24 a1 5c 0d
<6>note: mount[306] exited with preempt_count 2

Reiser4 was built into the kernel.