2007-10-13 16:23:37

by Stuart Anderson

[permalink] [raw]
Subject: Stale/incorrect cached information

On an x86_64 SMP box running 2.6.20.20 we have gotten one NFS version 3 mounted
filesystem into the following state where it appears to have stale/incorrect
cached information:

$ mkdir foo
$ rmdir foo

So far so good.

$ mkdir foo
$ rm -rf foo
rm: `foo' changed dev/ino: Is a directory

Strange.

$ mv foo old.2
mv: cannot remove directory `foo': Device or resource busy
$ rmdir foo
rmdir: `foo': Device or resource busy


This is only happening on one NFS client of one filesystem, i.e.,
on another NFS client machine this same filesystem works, and on
another NFS filesystem on the same machine it also works. There
is also no problem with the filesystem on the NFS server.

Possible related is a recent softlockup error:

kernel: BUG: soft lockup detected on CPU#0!
kernel:
kernel: Call Trace:
kernel: <IRQ> [<ffffffff8025a3dc>] softlockup_tick+0xfc/0x140
kernel: [<ffffffff80233ff3>] __do_softirq+0x63/0xd0
kernel: [<ffffffff80237f27>] update_process_times+0x57/0x90
kernel: [<ffffffff802160d4>] smp_local_timer_interrupt+0x34/0x60
kernel: [<ffffffff80216779>] smp_apic_timer_interrupt+0x59/0x80
kernel: [<ffffffff8020a7b6>] apic_timer_interrupt+0x66/0x70
kernel: <EOI> [<ffffffff88128700>] :sunrpc:unx_validate+0x0/0x70
kernel: [<ffffffff803275d1>] _raw_spin_lock+0xb1/0x150
kernel: [<ffffffff8817c330>] :nfs:nfs3_xdr_readres+0x0/0x170
kernel: [<ffffffff8043db4d>] lock_kernel+0x1d/0x30
kernel: [<ffffffff88120f7a>] :sunrpc:call_decode+0x5ba/0x660
kernel: [<ffffffff881274a0>] :sunrpc:rpc_async_schedule+0x0/0x10
kernel: [<ffffffff8812721e>] :sunrpc:__rpc_execute+0x8e/0x280
kernel: [<ffffffff8023fdce>] run_workqueue+0xae/0x160
kernel: [<ffffffff8023ff40>] worker_thread+0x0/0x190
kernel: [<ffffffff80243990>] keventd_create_kthread+0x0/0x90
kernel: [<ffffffff80240091>] worker_thread+0x151/0x190
kernel: [<ffffffff802294d0>] default_wake_function+0x0/0x10
kernel: [<ffffffff8023ff40>] worker_thread+0x0/0x190
kernel: [<ffffffff80243bd9>] kthread+0xd9/0x120
kernel: [<ffffffff8020a998>] child_rip+0xa/0x12
kernel: [<ffffffff80243990>] keventd_create_kthread+0x0/0x90
kernel: [<ffffffff80243b00>] kthread+0x0/0x120
kernel: [<ffffffff8020a98e>] child_rip+0x0/0x12
kernel:

Thanks.

--
Stuart Anderson [email protected]
http://www.ligo.caltech.edu/~anderson

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs