Hi

> That looks like a bug. If the fact that POHMELFS is being under active
> switch to completely different storage system does not affect you,
> kernel debug output and information about where system failed, i.e.
> which files were not found and so one, will help.

The kernel is 2.6.32-05775-gaad3bf0-dirty now.
This is my fix to avoid bdi_sync_writeback().

diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c
index f69b778..3e5826f 100644
--- a/drivers/staging/pohmelfs/inode.c
+++ b/drivers/staging/pohmelfs/inode.c
@@ -1941,7 +1941,7 @@ static int pohmelfs_get_sb(struct
file_system_type *fs_type,
  */
 static void pohmelfs_kill_super(struct super_block *sb)
 {
-       sync_inodes_sb(sb);
+       sync_filesystem(sb);
        kill_anon_super(sb);
 }

The problem is somewhere in sync/cache code.

tar jxf linux.tar.bz2
make defconfig

server says here

Accepted client 192.168.1.3:36198.
fserver_root_capabilities: avail: 1073741824, used: 0, export: 0,
inodes: 193412, flags: 0.
fserver_read_pages: thread: 3074292592: Failed to open file
'/linux-2.6.31.6/scripts/basic/fixdep' to read 1 pages: No such file
or director
y [2].
Failed to open file 'linux-2.6.31.6/scripts/basic/fixdep' to read a
single page: No such file or directory [2].
fserver_read_pages: thread: 3074292592: Failed to open file
'/linux-2.6.31.6/scripts/basic/docproc' to read 1 pages: No such file
or directo
ry [2].
Failed to open file 'linux-2.6.31.6/scripts/basic/docproc' to read a
single page: No such file or directory [2].
fserver_read_pages: thread: 3074292592: Failed to open file
'/linux-2.6.31.6/scripts/kconfig/conf.o' to read 2 pages: No such file
or direct
ory [2].
Failed to open file 'linux-2.6.31.6/scripts/kconfig/conf.o' to read a
single page: No such file or directory [2].
fserver_read_pages: thread: 3074292592: Failed to open file
'/linux-2.6.31.6/scripts/kconfig/zconf.tab.o' to read 4 pages: No such
file or d
irectory [2].
Failed to open file 'linux-2.6.31.6/scripts/kconfig/zconf.tab.o' to
read a single page: No such file or directory [2].
fserver_read_pages: thread: 3074292592: Failed to open file
'/linux-2.6.31.6/scripts/kconfig/conf' to read 1 pages: No such file
or directory [2].
Failed to open file 'linux-2.6.31.6/scripts/kconfig/conf' to read a
single page: No such file or directory [2].

It seems files are in the cache but not on the server storage.
Then I do `sync` and make

orion linux-2.6.31.6 # make -j4

scripts/kconfig/conf -s arch/x86/Kconfig

*** Error during update of the kernel configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by
`include/config/kernel.release'.  Stop.

Server side:

do_fserver_create: thread: 3074292592: Failed to create object 'asm',
file: 0, mode: 120777: Is a directory [21].
fserver_transaction: thread: 3074292592: trans: 0, FAILED sub: cmd: 4,
id: 32369, start: 7, size: 28, ext: 41471.
do_fserver_create: thread: 3074292592: Failed to create object 'asm',
file: 0, mode: 120777: Is a directory [21].
fserver_transaction: thread: 3074292592: trans: 0, FAILED sub: cmd: 4,
id: 32369, start: 7, size: 28, ext: 41471.

Does it support symlinks ?

Ok,
cd include
rm asm
cp -r asm-x86 asm
cd -
make

*** Error during update of the kernel configuration.

Failed because of:

Failed to open file 'linux-2.6.31.6/scripts/kconfig/conf' to read a
single page: No such file or directory [2].
fserver_rename: failed to rename id: 33786: '/linux-2.6.31.6/.config'
-> '/linux-2.6.31.6/.config.old': No such file or directory [2].

It can't update .config
But it _is_ on the server:
r...@tor ~ # ls -la /mnt/z/linux-2.6.31.6/.config
-rw-r--r-- 1 root root 67606 Dec 12 02:31 /mnt/z/linux-2.6.31.6/.config

but not .config.old

---

Can't reproduce now the situation when the client said ENOENT while
the file was on the server.

Client's dmesg is too noisy to find something useful.
_______________________________________________
Pohmelfs mailing list
[email protected]
http://www.ioremap.net/cgi-bin/mailman/listinfo/pohmelfs

Reply via email to