kernel_thread() is called under spin-lock.
> [<e4a20c33>] ktxnmgrd_attach+0x53/0x88 [reiser4]
[...]
> [<c0106f13>] syscall_call+0x7/0xb
>
> /dev/hda7 on /opt/squid/cache type reiser4
> (rw,noexec,nosuid,nodev,noatime,nodiratime)
>
> After creating 100,000 files (time seq -f "%06.0f" 1 100000 | xargs touch),
> I got _TONS_ of this:
>
> Debug: sleeping function called from illegal context at
> include/asm/semaphore.h:119
> Call Trace:
> [__might_sleep+84/96] __might_sleep+0x54/0x60
> [<e4a42a76>] ABSOLUTE_MIN_OID+0x13e/0x580 [reiser4]
> [<e4a3347c>] load_and_lock_bnode+0x14/0x1a4 [reiser4]
missed spin_unlock()/spin_lock() in flush_one_atom().
> [<e4a42a76>] ABSOLUTE_MIN_OID+0x13e/0x580 [reiser4]
[...]
> [<c01054f9>] kernel_thread_helper+0x5/0xc
> [<e4a4f380>] kdaemon+0x0/0x40 [reiser4]
>
>
> and also _TONS_ of this:
>
> Debug: sleeping function called from illegal context at
> include/asm/semaphore.h:119
> Call Trace:
> [<c01152b4>] __might_sleep+0x54/0x60
> [<e4a42a76>] ABSOLUTE_MIN_OID+0x13e/0x580 [reiser4]
> [<e4a3347c>] load_and_lock_bnode+0x14/0x1a4 [reiser4]
This is unclear.
> [<e4a42a76>] ABSOLUTE_MIN_OID+0x13e/0x580 [reiser4]
> [<e4a33e07>] bitmap_pre_commit_hook+0x12f/0x2b7 [reiser4]
[...]
>
> Does not occur with ReiserFS 3 from 2.5.45 nor with any other FS doing those
> small stress test. My personal impression is that Reiser4 is slower than 3 but
> that might be because of above debugging.
Run-time checks usually make reiser4 orders of magnitude slower.
>
> I hope this helps.
Yes. Thanks a lot.
>
> ciao, Marc
>
Nikita.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/