: reiser4 snapshot
Hello,
new reiser4 snapshot is available at:
http://www.namesys.com/snapshots/2003.02.13/
Your feedback and testing efforts are most valuable to us.
From README:
----------------------------------------------------------------------
Reiser4 snapshot for 2003.02.13
WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!
This is mostly bug fixing shapshot.
Snapshot is released as a patch against linux-2.5.60. It should also work with current (February 13th) bk snapshot.REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.) is known to not compile on x86.
Some read-ahead experimental code is present in this snapshot.
Changelog (extracted by "bk changes"):
[email protected], 2003-02-13 16:20:37+03:00, [email protected]
spin_macros.h:
unclude linux/spin_macros.h, not asm/spin_macros.h, as asm/spin_macros.h is only needed on SMP
[email protected], 2003-02-12 21:43:03+03:00, [email protected]
plugin.h:
Added new jnode plugin
cryptcompress.h:
Remove old cluster cache support
cryptcompress.c:
Remove old per-node cluster cache support
jnode.h:
New jnode type support
jnode.c:
Added new jnode type for cluster cache pages
compress.c:
Rename header
Makefile:
Rename source file
cryptcompress.h:
Rename: plugin/crypto_compressed.h -> plugin/cryptcompress.h
cryptcompress.c:
Rename: plugin/crypo_compressed.c -> plugin/cryptcompress.c[email protected], 2003-02-12 20:19:15+03:00, [email protected]
ugly work around for spin lock profiling
[email protected], 2003-02-12 20:18:56+03:00, [email protected]
restore atomicity of critical section in jload()
[email protected], 2003-02-12 20:15:53+03:00, [email protected]
make check for validness of block counters assertive
[email protected], 2003-02-12 17:54:43+03:00, [email protected]
fix wrong assertion
[email protected], 2003-02-12 17:54:30+03:00, [email protected]
spin lock profiling. Take two.
[email protected], 2003-02-12 16:24:28+03:00, [email protected]
hadle special case of taking spin-lock bypassing wrapper functions
[email protected], 2003-02-12 14:42:37+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-02-12 15:10:33+03:00, [email protected]
fix compilation breakaga
[email protected], 2003-02-12 14:27:39+03:00, [email protected]
spin-lock profiling. Requires patches to arch code to be enabled.
[email protected], 2003-02-12 14:42:28+03:00, [email protected]
compilability with EFLUSH turned off
[email protected], 2003-02-12 21:03:10+03:00, [email protected]
shifted_nodes_below has no sense if we are on leaf level.
[email protected], 2003-02-12 13:36:04+03:00, [email protected]
cleanup
[email protected], 2003-02-12 13:46:05+03:00, [email protected]
fix rwlock_t initialisations
[email protected], 2003-02-12 13:45:43+03:00, [email protected]
fix naming insanity
[email protected], 2003-02-11 19:11:36+03:00, [email protected]
uncomment call to cbk_cache back
[email protected], 2003-02-12 11:30:33+03:00, [email protected]
ktxnmgrd.c:
new daemonize() semantic
[email protected], 2003-02-12 13:44:54+03:00, [email protected]
fix indentation
[email protected], 2003-02-11 17:27:58+03:00, [email protected]
fix last fix
[email protected], 2003-02-11 15:44:15+03:00, [email protected]
release tree lock in the error path of renew_sibling_link()
[email protected], 2003-02-11 14:26:06+03:00, [email protected]
conflict is resolved
[email protected], 2003-02-11 15:43:39+03:00, [email protected]
strengthen lock ordering predicate for tree
[email protected], 2003-02-11 14:08:10+03:00, [email protected]
replace check with assertion
[email protected], 2003-02-11 14:07:52+03:00, [email protected]
remove unneeded includes
[email protected], 2003-02-11 14:06:36+03:00, [email protected]
more read-write tree lock fixes
[email protected], 2003-02-11 14:06:17+03:00, [email protected]
make item_plugin_by_coord() inline
[email protected], 2003-02-11 14:24:19+03:00, [email protected]
using new tree spinlocking macroses
[email protected], 2003-02-11 14:05:38+03:00, [email protected]
more read-write tree lock fixes
[email protected], 2003-02-11 13:22:35+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-02-11 14:05:12+03:00, [email protected]
make reiser4_inode_data() inline
[email protected], 2003-02-11 11:53:43+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-02-11 11:51:43+03:00, [email protected]
fix nesting
[email protected], 2003-02-11 11:12:18+03:00, [email protected]
fix compilability
[email protected], 2003-02-11 11:10:57+03:00, [email protected]
add question
[email protected], 2003-02-11 11:10:40+03:00, [email protected]
unlock transaction handle and jnode in case of TXN_CAPTURE_DONT_FUSE
[email protected], 2003-02-11 11:10:03+03:00, [email protected]
fix error that led to -EAGAIN in writepage: add_empty_leaf() sometimes left new child unconnected
[email protected], 2003-02-11 11:09:19+03:00, [email protected]
switch tree lock to read-write
[email protected], 2003-02-11 11:06:33+03:00, [email protected]
add description of [tap-sane] invariant
[email protected], 2003-02-11 11:06:07+03:00, [email protected]
comment tap.[ch]
[email protected], 2003-02-11 13:22:11+03:00, [email protected]
cleanup
[email protected], 2003-02-11 11:05:50+03:00, [email protected]
add macros for read-write spin locks
[email protected], 2003-02-10 18:17:23+03:00, [email protected]
znode_remove_sibling_list can be called for half-connected node.
[email protected], 2003-02-10 12:08:46+03:00, [email protected]
conflict resolved
[email protected], 2003-02-10 17:27:18+03:00, [email protected]
cleanup: renaming
[email protected], 2003-02-11 11:00:14+03:00, [email protected]
remove warning nikita-1845
[email protected], 2003-02-10 09:25:54+03:00, [email protected]
ktxnmgrd.c:
Adopt to new placement of signal stuff in 2.5
[email protected], 2003-02-08 00:14:34+03:00, [email protected]
cleanup: renaming functions
[email protected], 2003-02-07 22:55:25+03:00, [email protected]
cleanup: renaming functions
[email protected], 2003-02-07 21:39:33+03:00, [email protected]
return source code compilability and some renames back.
[email protected], 2003-02-07 20:55:51+03:00, [email protected]
cleanup: renaming reiser4_flush_reserved, reiser4_set_flush_reserved, reiser4_atom_flush_reserved
[email protected], 2003-02-07 19:29:50+03:00, [email protected]
fixing lock ordering
[email protected], 2003-02-07 20:11:26+03:00, [email protected]
comment
[email protected], 2003-02-07 16:37:43+03:00, [email protected]
comment
[email protected], 2003-02-07 14:09:00+03:00, [email protected]
comment
[email protected], 2003-02-07 11:36:15+03:00, [email protected]
remove BA_CAN_COMMIT from grabbing flags: long term lock is held during prepare_extent2tail() so transaction commit can deadlock.
[email protected], 2003-02-07 11:13:08+03:00, [email protected]
Merge
[email protected], 2003-02-06 23:27:48+03:00, [email protected]
Merge umka@thebsh:/home/bk/reiser4
into haron.namesys.com:/home/umka/work/reiser4/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-02-07 19:00:48+03:00, [email protected]
move spinlocks out from cbk slot scanning loop.
[email protected], 2003-02-06 22:42:32+03:00, [email protected]
c
[email protected], 2003-02-06 21:29:26+03:00, [email protected]
Ahtung! e-flush is called.
[email protected], 2003-02-06 23:27:40+03:00, [email protected]
[email protected], 2003-02-06 19:23:44+03:00, [email protected]
remove unnecessary check for a failure which can't happen
[email protected], 2003-02-06 18:59:07+03:00, [email protected]
more comment -- better code !
[email protected], 2003-02-06 17:47:27+03:00, [email protected]
typo fixed
[email protected], 2003-02-07 11:12:20+03:00, [email protected]
cleanup of flush.c
[email protected], 2003-02-06 17:33:41+03:00, [email protected]
fix forward declaration
[email protected], 2003-02-07 11:11:52+03:00, [email protected]
s/atom_get_locked_by_jnode/atom_locked_by_jnode/g
[email protected], 2003-02-06 17:29:08+03:00, [email protected]
implement inexpensive protection from e-flush and replace jload by it in critical places.
[email protected], 2003-02-07 11:11:22+03:00, [email protected]
add backtrace-based profiling
[email protected], 2003-02-06 15:06:28+03:00, [email protected]
comment update,
make squalloc_right_neighbor static again
[email protected], 2003-02-07 11:10:33+03:00, [email protected]
add comment about padding in coord_t
[email protected], 2003-02-06 14:32:16+03:00, [email protected]
Merge zam@thebsh:/home/bk/reiser4
into crimson.namesys.com:/home/shuric/work/uml/fs/reiser4
[email protected], 2003-02-07 11:10:13+03:00, [email protected]
fix commentary for reiser4_context
[email protected], 2003-02-06 14:08:17+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-02-06 14:08:05+03:00, [email protected]
commenting flush.c
[email protected], 2003-02-06 14:06:34+03:00, [email protected]
update invariant documentation
[email protected], 2003-02-05 21:03:55+03:00, [email protected]
fix internal_update()'s prototype
[email protected], 2003-02-05 21:03:37+03:00, [email protected]
call balance_dirty_pages_ratelimited() in write
[email protected], 2003-02-06 14:31:29+03:00, [email protected]
comment update
[email protected], 2003-02-05 21:03:19+03:00, [email protected]
don't allow block allocator to commit during tail->extent reservation, because we are holding lock on formatted node during this and it can lead to the deadlock.
[email protected], 2003-02-06 12:36:52+03:00, [email protected]
comment update
[email protected], 2003-02-05 21:01:31+03:00, [email protected]
cosmetic change
[email protected], 2003-02-05 16:01:05+03:00, [email protected]
what race is meant here, I do not understand
[email protected], 2003-02-05 21:01:13+03:00, [email protected]
add debugging fields to the context: trace where grabbing has been per formed and for what amount of blocks
fix bug in reiser4_grab(): only call grab_space_disable() on success.
[email protected], 2003-02-06 22:35:31+03:00, [email protected]
comment
[email protected], 2003-02-05 20:59:31+03:00, [email protected]
remove copy of on-disk super-block from struct super_block
[email protected], 2003-02-05 15:38:03+03:00, [email protected]
remove the code duplicated in reiser4_get_neighbor
[email protected], 2003-02-05 20:58:26+03:00, [email protected]
check that no long term locks are held at the beginning of transaction commit.
remove obsolete debugging code
[email protected], 2003-02-05 13:49:38+03:00, [email protected]
A whitespace (new line) added after goto label
[email protected], 2003-02-05 18:40:30+03:00, [email protected]
add and use reiser4_blocknr_is_sane() function
[email protected], 2003-02-04 20:45:37+03:00, [email protected]
update TODO
[email protected], 2003-02-05 18:40:07+03:00, [email protected]
add ->update() flush op.
[email protected], 2003-02-04 20:12:59+03:00, [email protected]
outdated comment removed
[email protected], 2003-02-05 18:39:22+03:00, [email protected]
add invariants checking for jnodes
[email protected], 2003-02-04 19:41:54+03:00, [email protected]
Merge
[email protected], 2003-02-05 16:37:02+03:00, [email protected]
introduce and use get_fake_znode()
[email protected], 2003-02-04 18:50:41+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-02-04 18:50:33+03:00, [email protected]
update of znode.c comments
[email protected], 2003-02-04 19:39:41+03:00, [email protected]
comments update
[email protected], 2003-02-04 18:50:12+03:00, [email protected]
don't acquire dk lock before calling set_child_delimiting_keys()
[email protected], 2003-02-04 17:20:29+03:00, [email protected]
correcting a function name
[email protected], 2003-02-05 14:37:26+03:00, [email protected]
comment
[email protected], 2003-02-04 18:49:44+03:00, [email protected]
fix typoes in flush.c
[email protected], 2003-02-04 15:10:31+03:00, [email protected]
add comment at the top of doc/lock-ordering.dot
[email protected], 2003-02-04 13:16:33+03:00, [email protected]
turn mt flush on by default
[email protected], 2003-02-04 13:16:14+03:00, [email protected]
take spin-lock around call to update_znode_dkeys()
[email protected], 2003-02-03 15:58:31+03:00, [email protected]
don't take DK spin-lock twice
[email protected], 2003-02-03 13:53:06+03:00, [email protected]
more DK fixes
[email protected], 2003-02-04 14:07:39+03:00, [email protected]
comment
[email protected], 2003-02-03 11:09:16+03:00, [email protected]
weaken assertions
[email protected], 2003-01-31 21:43:22+03:00, [email protected]
add description of DK problem.
[email protected], 2003-01-31 21:38:31+03:00, [email protected]
more dk fixing
[email protected], 2003-01-31 21:08:52+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-01-31 19:59:05+03:00, [email protected]
make most probable code pathes faster.
[email protected], 2003-01-31 19:15:30+03:00, [email protected]
add a e-flush check before taking spin-lock and calling eflush_del
[email protected], 2003-02-10 11:45:20+03:00, [email protected]
minor debugging code
[email protected], 2003-01-31 21:08:35+03:00, [email protected]
dk fix
[email protected], 2003-01-31 19:00:45+03:00, [email protected]
make add_d_ref inline
[email protected], 2003-01-31 13:11:57+03:00, [email protected]
conflict resolved
[email protected], 2003-01-31 21:08:22+03:00, [email protected]
add more sysfs attributes
[email protected], 2003-01-31 13:10:32+03:00, [email protected]
debugging code
[email protected], 2003-01-30 18:30:10+03:00, [email protected]
cleanup
[email protected], 2003-01-30 20:15:30+03:00, [email protected]
comment update
[email protected], 2003-01-30 15:44:35+03:00, [email protected]
fix for lockup on locked page
[email protected], 2003-01-30 18:29:35+03:00, [email protected]
disable node check
[email protected], 2003-01-30 14:44:44+03:00, [email protected]
1. reiser4 context flags clean-up
2. do not mark pages accessed when in writeout mode.
[email protected], 2003-01-30 12:41:08+03:00, [email protected]
conflict resolved
[email protected], 2003-01-30 18:29:14+03:00, [email protected]
cleanup
[email protected], 2003-01-29 20:54:06+03:00, [email protected]
shuffle locks in extent code
[email protected], 2003-01-29 20:53:33+03:00, [email protected]
fix type (hmm?)
[email protected], 2003-01-29 19:30:11+03:00, [email protected]
restrict sunc_dkeys() to nodes belonging to the single balancing operation
[email protected], 2003-01-29 19:14:21+03:00, [email protected]
don't special-case ->mmap() plugin
[email protected], 2003-01-29 19:13:52+03:00, [email protected]
mark pages accessed in read/write
[email protected], 2003-01-29 21:34:26+03:00, [email protected]
activate page if emergency flush could not submit it to disk
[email protected], 2003-01-29 19:13:06+03:00, [email protected]
update lock-ordering description
[email protected], 2003-01-29 17:36:21+03:00, [email protected]
Merge zam@thebsh:/home/bk/reiser4
into crimson.namesys.com:/home/shuric/work/uml/fs/reiser4
[email protected], 2003-01-29 19:12:46+03:00, [email protected]
funnel all delimiting key updates through znode_set_{l,r}d_key()
[email protected], 2003-01-29 13:28:06+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-01-29 13:26:48+03:00, [email protected]
use schedulable() in stead of explicit checks for ->spin_locked
[email protected], 2003-01-29 13:23:32+03:00, [email protected]
increment @iterations
[email protected], 2003-01-30 12:34:23+03:00, [email protected]
debugging code tossing around
[email protected], 2003-01-29 13:23:05+03:00, [email protected]
simplify VFS callbacks
[email protected], 2003-01-29 15:29:22+03:00, [email protected]
flushable: not sure wether it is right
[email protected], 2003-01-29 13:22:37+03:00, [email protected]
add permission plugin methods for read and write
[email protected], 2003-01-29 17:36:01+03:00, [email protected]
e-flush code path for DIRTY/RELOC nodes cleanup/fix
[email protected], 2003-01-29 12:54:03+03:00, [email protected]
append_and_or_overwrite: change state of empty files after they actually became not empty
[email protected], 2003-01-29 13:22:12+03:00, [email protected]
cosmetic: move EMACS stuff to the end of the file
[email protected], 2003-01-28 17:59:04+03:00, [email protected]
reiser4_readpages: release pages which were not readahead
[email protected], 2003-01-29 13:21:37+03:00, [email protected]
add standard unix checks to the read/write: resource limits, suid removal on write, LFS, etc.
[email protected], 2003-01-28 17:44:53+03:00, [email protected]
conflict resolved
[email protected], 2003-01-29 13:20:14+03:00, [email protected]
moving fake_{lock,gen} out of function scope---this simplifies debugging
[email protected], 2003-01-28 17:23:49+03:00, [email protected]
don't look into right neighbor in is_next_item_internal(). This led to nasty bug.
[email protected], 2003-01-28 17:23:13+03:00, [email protected]
add assertion checking that right delimiting key is never *decreased* without obtaining long term lock first
[email protected], 2003-01-28 14:46:30+03:00, [email protected]
more lock-ordering updates
[email protected], 2003-01-28 14:45:59+03:00, [email protected]
fix deadlock between inode_guard and jnode_lock
[email protected], 2003-01-28 14:45:33+03:00, [email protected]
remove unneeded debugging code
[email protected], 2003-01-28 14:45:09+03:00, [email protected]
fix wrong order of initializations
[email protected], 2003-01-27 20:49:25+03:00, [email protected]
disable rdtsc-based profiling by default
[email protected], 2003-01-24 19:50:08+03:00, [email protected]
sync description of lock oredering for core locks with changes in kernel
[email protected], 2003-01-24 18:31:30+03:00, [email protected]
Merge zam@thebsh:/home/bk/reiser4
into crimson.namesys.com:/home/shuric/work/uml/fs/reiser4
[email protected], 2003-01-24 17:40:49+03:00, [email protected]
inode spin lock can be taken from under jnode spin lock. Reflect this in lock-ordering specification and checks
[email protected], 2003-01-24 15:43:33+03:00, [email protected]
update lock ordering description, extract .dot representation
[email protected], 2003-01-24 15:42:08+03:00, [email protected]
elaborate spin-lock predicate for inode and dk spin locks
[email protected], 2003-01-24 15:41:13+03:00, [email protected]
remove obsolete "fix" for i_nlink
[email protected], 2003-01-24 15:40:47+03:00, [email protected]
typo fixed
[email protected], 2003-01-24 15:40:30+03:00, [email protected]
remove unused ktxnmgrd_kick() function
[email protected], 2003-01-24 18:21:56+03:00, [email protected]
recursive page lock in bitmap blocks loading fix
[email protected], 2003-01-24 15:39:51+03:00, [email protected]
remove wait_on_page_locked() from jnode_finish_io()
[email protected], 2003-01-24 15:50:00+03:00, [email protected]
do not do jrelse with locked page (not sure that previous variant was incorrect)
[email protected], 2003-01-24 15:39:06+03:00, [email protected]
eflush_del(): move iput() from under jnode spin lock
[email protected], 2003-01-23 14:53:36+03:00, [email protected]
use delete_sema for truncate
[email protected], 2003-01-28 17:37:28+03:00, [email protected]
debugging code
[email protected], 2003-01-21 21:19:44+03:00, [email protected]
remove `info' from extent_readpage
[email protected], 2003-01-22 12:48:17+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-01-21 21:19:24+03:00, [email protected]
add one more prof counter
[email protected], 2003-01-21 19:59:10+03:00, [email protected]
fix error in subsys support: don't duplicate default attributes on each level
[email protected], 2003-01-21 19:43:43+03:00, [email protected]
plugin_hash.[ch]: API for non-standard plugins (like compression, cryptography, etc.) to attach their state to reiser4 objects:
inodes, jnodes, and super-blocks.
[email protected], 2003-01-21 17:36:48+03:00, [email protected]
cleanup tree traversal warnings
[email protected], 2003-01-21 17:36:32+03:00, [email protected]
make sysfs suppotr optional
[email protected], 2003-01-21 17:36:11+03:00, [email protected]
more i286 profiling stuff
[email protected], 2003-01-21 16:03:11+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-01-22 12:48:08+03:00, [email protected]
debugging code
[email protected], 2003-01-21 15:27:10+03:00, [email protected]
eunflush does not prevent further e-flushes here
[email protected], 2003-01-21 12:59:38+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-01-21 15:55:57+03:00, [email protected]
Added pointer to the cluster cache
[email protected], 2003-04-20 22:16:29+04:00, [email protected]
fixing compilation if REISER4_STATS==0
[email protected], 2003-04-20 21:20:10+04:00, [email protected]
typo
[email protected], 2003-04-20 20:51:18+04:00, [email protected]
added commit time stats
[email protected], 2003-01-21 16:02:49+03:00, [email protected]
move jput() to where it belongs properly---jnode.h
[email protected], 2003-01-21 16:02:31+03:00, [email protected]
i386 profiling
[email protected], 2003-04-20 18:11:46+04:00, [email protected]
Merge zam@thebsh:/home/bk/reiser4
into crimson.namesys.com:/home/shuric/work/uml/fs/reiser4
[email protected], 2003-04-20 18:11:35+04:00, [email protected]
MTFLUSH semaphore statistics added
[email protected], 2003-01-20 19:11:59+03:00, [email protected]
fix race between jput() and writeback
[email protected], 2003-01-20 19:10:12+03:00, [email protected]
private_spinlock is located in i_data, rather than i_mapping
[email protected], 2003-01-20 15:07:06+03:00, [email protected]
fix context usage in statistics macros
[email protected], 2003-01-20 13:46:14+03:00, [email protected]
small cleanups
[email protected], 2003-01-20 13:45:50+03:00, [email protected]
add vfs calls statistics
[email protected], 2003-04-20 12:47:56+04:00, [email protected]
add commit statistics
[email protected], 2003-01-21 12:54:51+03:00, [email protected]
fixes of eflush list
[email protected], 2003-01-21 11:54:27+03:00, [email protected]
drop_enodes is added
[email protected], 2003-01-20 11:25:20+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-04-17 22:00:38+04:00, [email protected]
wrong jrelse()
[email protected], 2003-04-17 21:43:30+04:00, [email protected]
trivial fix
[email protected], 2003-04-17 21:32:03+04:00, [email protected]
get e-fluhed nodes back before counting and allocating disk space for wandered nodes.
[email protected], 2003-01-20 11:25:01+03:00, [email protected]
reiser4_put_inode is started
[email protected], 2003-01-17 20:26:59+03:00, [email protected]
Merge vs@thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/reiser4-linux-2.5/fs/reiser4
[email protected], 2003-01-17 21:47:28+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-04-17 17:37:58+04:00, [email protected]
Merge zam@thebsh:/home/bk/reiser4
into crimson.namesys.com:/home/shuric/work/uml/fs/reiser4
[email protected], 2003-04-17 17:37:48+04:00, [email protected]
after merge fixes
[email protected], 2003-04-17 17:29:35+04:00, [email protected]
merging
[email protected], 2003-04-17 17:09:15+04:00, [email protected]
adopting Green's sleepping functions profiling patch.
[email protected], 2003-01-17 21:47:19+03:00, [email protected]
more sysfs updates
[email protected], 2003-01-17 17:23:33+03:00, [email protected]
remove dead code
[email protected], 2003-01-17 17:16:05+03:00, [email protected]
more statistics fixes
[email protected], 2003-01-17 16:19:33+03:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4
[email protected], 2003-01-17 14:27:50+03:00, [email protected]
reiser4_kill_super: one more workaround
[email protected], 2003-01-17 16:19:20+03:00, [email protected]
statistics code cleanup
[email protected], 2003-01-16 22:12:54+03:00, [email protected]
conflict resolving
[email protected], 2003-04-16 21:52:04+04:00, [email protected]
docs update
[email protected], 2003-04-16 17:44:45+04:00, [email protected]
documentation update (not completed)
----------------------------------------------------------------------
Nikita.
Nikita Danilov wrote (ao):
Quoted 3 lines
new reiser4 snapshot is available at:
Thanks a lot for this snapshot, and for reiserfs in general.
Quoted 9 lines
Your feedback and testing efforts are most valuable to us.
Quoted 1 line
From README:
----------------------------------------------------------------------
Reiser4 snapshot for 2003.02.13WARNING!!! This code is experimental! WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!
Quoted 6 lines
This is mostly bug fixing shapshot.
Snapshot is released as a patch against linux-2.5.60. It should also work with current (February 13th) bk snapshot.
REISER4_NOOPTconfig option (Disable compiler optimizations for reiser4 code.) is known to not compile on x86.
I can't find that option in .config The only REISER options that I have are:
$ grep REISER .config CONFIG_REISER4_FS=y # CONFIG_REISER4_CHECK is not set CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set $
This is with 2.5.60, patched with feb 13 reiser4.diff.gz, and after make oldconfig on my 2.5.59 .config (didn't ask reiserfs related things).
I do get some warnings and a compile error. This is on an up to date debian sid (unstable) and with gcc (GCC) 3.2.3 20030210
Do you need more info on this?
...
In file included from fs/reiser4/super.h:10,
from fs/reiser4/debug.c:7:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/jnode.c:20:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/znode.c:153:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/key.c:7:
fs/reiser4/tree.h: In function `write_trylock_tree':
fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock'
In file included from fs/reiser4/super.h:10,
from fs/reiser4/pool.c:48:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/tree_mod.c:16:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/estimate.c:5:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/carry.c:146:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/carry_ops.c:19:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/lock.c:349:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/tree.c:97:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/context.c:6:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/tap.c:18:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/coord.c:6:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/block_alloc.c:9:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/txnmgr.c:187:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/kassign.c:10:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/flush.c:22:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/wander.c:157:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/eottl.c:14:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/search.c:16:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/page_cache.c:176:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/lnode.c:85:
fs/reiser4/tree.h: In function `write_trylock_tree':
fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock'
In file included from fs/reiser4/super.h:10,
from fs/reiser4/seal.c:35:
fs/reiser4/tree.h: In function `write_trylock_tree':
fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock'
In file included from fs/reiser4/super.h:10,
from fs/reiser4/trace.c:9:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10,
from fs/reiser4/flush_queue.c:5:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/ktxnmgrd.c:7:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function _raw_write_trylock' fs/reiser4/ktxnmgrd.c: In function ktxnmgrd':fs/reiser4/ktxnmgrd.c:39: too many arguments to function `daemonize' make[2]: *** [fs/reiser4/ktxnmgrd.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
Hello!
Quoted 6 lines · Ookhoi
Quoted 4 lines
Snapshot is released as a patch against linux-2.5.60. It should also work with current (February 13th) bk snapshot.
REISER4_NOOPTconfig option (Disable compiler optimizations for reiser4 code.) is known to not compile on x86.I can't find that option in .config The only REISER options that I have are:
Quoted 7 lines
$ grep REISER .config CONFIG_REISER4_FS=y # CONFIG_REISER4_CHECK is not set CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set $
This is one of debugging options, so you won't see debugging options unless you enable CONFIG_REISER4_CHECK
Quoted 3 lines
I do get some warnings and a compile error. This is on an up to date debian sid (unstable) and with gcc (GCC) 3.2.3 20030210 Do you need more info on this?
Sure.
Quoted 82 lines
In file included from
fs/reiser4/super.h:10,from fs/reiser4/debug.c:7:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/jnode.c:20:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/znode.c:153:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,from fs/reiser4/key.c:7: fs/reiser4/tree.h: In function `write_trylock_tree': fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10, from fs/reiser4/pool.c:48:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/tree_mod.c:16:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/estimate.c:5:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/carry.c:146:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/carry_ops.c:19:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/lock.c:349:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/tree.c:97:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,
fromfs/reiser4/context.c:6:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/tap.c:18:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/coord.c:6:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/block_alloc.c:9:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/txnmgr.c:187:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,from fs/reiser4/kassign.c:10:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/flush.c:22:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,from fs/reiser4/wander.c:157:
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/eottl.c:14:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/search.c:16:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/page_cache.c:176:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,from fs/reiser4/lnode.c:85: fs/reiser4/tree.h: In function `write_trylock_tree': fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10, from fs/reiser4/seal.c:35: fs/reiser4/tree.h: In function `write_trylock_tree': fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included from fs/reiser4/super.h:10, from fs/reiser4/trace.c:9:
Quoted 14 lines
fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/super.h:10,
fromfs/reiser4/flush_queue.c:5:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function `_raw_write_trylock' In file included fromfs/reiser4/ktxnmgrd.c:7:fs/reiser4/tree.h: In function `write_trylock_tree':fs/reiser4/tree.h:460: warning: implicit declaration of function_raw_write_trylock' fs/reiser4/ktxnmgrd.c: In functionktxnmgrd':fs/reiser4/ktxnmgrd.c:39: too many arguments to function `daemonize' make[2]: *** [fs/reiser4/ktxnmgrd.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
Ah. I missed the fact that the diff I produced was against yesterday's bk snapshot. vanilla 2.5.60 misses _raw_write_trylock declaration for UP systems and have a bit different daemonize() semantics.
I have put reiser4-kernel-2.5.60.diff file in the same place as the snapshot. This is the patch that should be applied to 2.5.60 in addition to reiser4 patch to make it compile. (those who use latest Linus' bitkeeper tree should not worry). Also I updated READ.ME file.
Thanks for letting us know.
Bye,
Oleg
oops reiser4, 2.5.60
CONFIG_REISER4_FS=yCONFIG_REISER4_CHECK=yCONFIG_REISER4_DEBUG=yCONFIG_REISER4_CHECK_STACK=yCONFIG_REISER4_DEBUG_MODIFY=yCONFIG_REISER4_DEBUG_MEMCPY=yCONFIG_REISER4_DEBUG_NODE=yCONFIG_REISER4_ZERO_NEW_NODE=yCONFIG_REISER4_TRACE=yCONFIG_REISER4_EVENT_LOG=yCONFIG_REISER4_STATS=yCONFIG_REISER4_PROF=yCONFIG_REISER4_DEBUG_OUTPUT=y
# CONFIG_REISER4_NOOPT is not setCONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
2.5.60, reiser4.diff, reiser4-kernel-2.5.60.diff
gcc (GCC) 3.2.3 20030210 (Debian prerelease)
mkfs.reiser4 0.3.0
Please let me know if you need more info.
Create 512MB loop fs, mkfs.reiser4 with no options, mount with no options:
reiser4[mount(217)]: reiser4_fill_super (fs/reiser4/vfs_ops.c:2116)[nikita-2372]:
WARNING: Debugging is on. Benchmarking is invalid.
Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: c019f70e *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0060:[<c019f70e>] Not tainted EFLAGS: 00010292
EIP is at update_prof_trace+0xe/0x100
eax: 00001fd1 ebx: cf4dbc8f ecx: 00000000 edx: 00000000
esi: cf4cb93a edi: 00000009 ebp: da63badc esp: da63baa8
ds: 007b es: 007b ss: 0068
Process mount (pid: 217, threadinfo=da63a000 task=db154d40)
Stack: c019f4f3 df8fc000 da70e660 c019f4f3 00001fcf c019f85f c141fe38 c01f9fde
00010355 00000000 cf4dbc8f cf4cb93a 00000009 00000000 c01a2977 db5f9b54
cf4cb93a 00000009 cf4dbc8f 00000009 00001fcf cf4cb93a 00000009 00001fcf
Call Trace:
[<c019f4f3>] check_stack+0xa3/0x180
[<c019f4f3>] check_stack+0xa3/0x180
[<c019f85f>] update_prof_cnt+0x5f/0xb0
[<c01f9fde>] eflush_del+0x1e/0x820
[<c01a2977>] jload_gfp+0x317/0x9e0
[<c01db9bc>] load_journal_control_block+0x2c/0x60
[<c01dbb6a>] init_journal_info+0x7a/0x1c0
[<c021e0a3>] format40_get_ready+0xa3/0x3d0
[<c013c4de>] do_no_page+0x1ae/0x390
[<c0132704>] mempool_free+0x44/0x90
[<c013329b>] buffered_rmqueue+0xbb/0x150
[<c01239ca>] update_process_times+0x2a/0x30
[<c012388b>] update_wall_time+0xb/0x40
[<c0123b23>] do_timer+0xf3/0x100
[<c01110f6>] do_timer_interrupt+0xd6/0xf0
[<c0110dbe>] timer_interrupt+0x5e/0x70
[<c015f0a5>] inode_init_once+0x15/0x110
[<c019f4f3>] check_stack+0xa3/0x180
[<c01f4e78>] init_once+0x48/0xa0
[<c0135e7b>] cache_init_objs+0x5b/0x70
[<c013600c>] cache_grow+0x13c/0x230
[<c01e1f57>] xmemset+0x17/0x20
[<c01e1f57>] xmemset+0x17/0x20
[<c01f4fdf>] reiser4_alloc_inode+0x8f/0xf0
[<c015f012>] alloc_inode+0x122/0x150
[<c015f9b3>] get_new_inode_fast+0x33/0xe0
[<c015fcab>] iget_locked+0x4b/0x50
[<c019f4f3>] check_stack+0xa3/0x180
[<c01602ba>] wake_up_inode+0xa/0x20
[<c01f6d0c>] reiser4_fill_super+0x29c/0x8e0
[<c0235dc4>] sprintf+0x14/0x20
[<c014f39a>] get_sb_bdev+0xfa/0x140
[<c01f769e>] reiser4_get_sb+0x1e/0x30
[<c01f6a70>] reiser4_fill_super+0x0/0x8e0
[<c014f55f>] do_kern_mount+0x3f/0xb0
[<c0162bd5>] do_add_mount+0x75/0x160
[<c0162e98>] do_mount+0x118/0x170
[<c031ee1f>] sock_i_ino+0x9df/0xf60
[<c0162d75>] copy_mount_options+0xb5/0xc0
[<c0163245>] sys_mount+0xa5/0xe0
[<c010ae47>] syscall_call+0x7/0xb
Code: 8b 02 8b 40 04 89 45 d4 8b 02 8b 00 8b 40 04 89 45 d8 8b 02
reiser4[ktxnmgrd:timed(218)]: scan_mgr (fs/reiser4/ktxnmgrd.c:219)[nikita-2456]:
reiser4 panicked cowardly: assertion failed: tree->super != NULL
------------[ cut here ]------------
kernel BUG at fs/reiser4/debug.c:59!
invalid operand: 0000
CPU: 0
EIP: 0060:[<c019f19b>] Not tainted
EFLAGS: 00010246EIP is at reiser4_do_panic+0x12b/0x1e0
eax: 00000000 ebx: da702000 ecx: 00000001 edx: 00000000
esi: db5f98b4 edi: c047791c ebp: da702000 esp: da703ec4
ds: 007b es: 007b ss: 0068
Process ktxnmgrd:timed (pid: 218, threadinfo=da702000 task=db154740)
Stack: db5f9020 c01e9f9d c036f180 da703ee8 c01190ce da703f68 00000003 00000001
00000000 da702000 00000246 da702000 da703f68 db154740 00000000 00000001
db154740 c0119000 da703f68 da703f68 00000000 00000000 00000001 da703f5c
Call Trace:
[<c01e9f9d>] scan_mgr+0xcd/0x120
[<c01190ce>] __wake_up_locked+0xe/0x20
[<c0119000>] default_wake_function+0x0/0x20
[<c01e43e9>] kcond_remove+0x19/0x6f
[<c01e41c7>] kcond_timedwait+0x147/0x1d0
[<c011869d>] try_to_wake_up+0xfd/0x120
[<c0119046>] __wake_up_common+0x26/0x50
[<c01e43b0>] kcond_timeout+0x0/0x20
[<c0235d89>] snprintf+0x19/0x20
[<c01e99f5>] ktxnmgrd+0x115/0x1d0
[<c01e9a16>] ktxnmgrd+0x136/0x1d0
[<c01e98e0>] ktxnmgrd+0x0/0x1d0
[<c0108d59>] kernel_thread_helper+0x5/0xc
Code: 0f 0b 3b 00 30 82 35 c0 68 00 74 47 c0 e8 13 d3 f7 ff 3d 40
<6>note: ktxnmgrd:timed[218] exited with preempt_count 1Re: oops reiser4, 2.5.60
Hello!
On Fri, Feb 14, 2003 at 10:16:53PM +0100, Ookhoi wrote:
Well, that look like our profiling code does not work nice :) I will highlight the option you need to left enabled. Other reiser4 debugging stuff is not needed.
Quoted 9 lines
CONFIG_REISER4_FS=yCONFIG_REISER4_CHECK=yCONFIG_REISER4_DEBUG=yCONFIG_REISER4_DEBUG_MODIFY=yCONFIG_REISER4_DEBUG_MEMCPY=yCONFIG_REISER4_DEBUG_NODE=yCONFIG_REISER4_ZERO_NEW_NODE=yCONFIG_REISER4_TRACE=yCONFIG_REISER4_DEBUG_OUTPUT=y
Also please disable "preemptive kernel", we do not test in this mode yet.
Thank you.
Bye,
Oleg
Re: oops reiser4, 2.5.60
In reply to OokhoiThanks for your patience with this Ookhoi, loop back mounts tend to hit bugs regular mounts don't, we'll work on this.
Signature · 1 line
Hans