Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reader / writer lock error: rw_vector_exit: assertion failed: RW_COUNT(rw) != 0



Hi Sarton,

On Tue, Jul 15, 2008 at 03:15:29PM +1000, Sarton O'Brien wrote:
> On an NFS server, I moved a directory within a mount currently being accessed 
> by a client.
> 
> No error occurred until I issued pwd on the client that was within the 
> non-existent directory:

I kind of replicated it; if i move the dir *inside* the exported fs i get a 
pwd on the _client_ stuck in [tstile] :-S This alone is pretty serious.

But if i move the dir *outside* the exported fs i get:

client:
------
luiaard# mkdir 1
luiaard# cd 1
luiaard# mkdir 2
luiaard# cd 2
luiaard# ls -al
total 2
drwxr-xr-x  2 root  wheel  512 Jul 15 14:33 .
drwxr-xr-x  3 root  wheel  512 Jul 15 14:33 ..
luiaard# pwd
/root/1/2


server:
------
heethoofdje# pwd
/usr/exports/luiaard/root/1
heethoofdje# mv 2 ~


client
-----
luiaard# cd ..
luiaard# ls -al
<list of ~>
luiaard# pwd
Reader / writer lock error: rw_vector_exit: assertion filed : RW_COUNT(rw) 
!= 0
lock address : 0x00000000c7267ab4
current cpu  :                  0
current lwp  : 0x00000000c70080a0
owner/count  : 000000000000000000 flags    : 000000000000000000
panic: lock error


XXX note that the ls -al on `luiaard' (the client) should list ~/1 but 
lists ~ !!! and thus most likely unlocks/locks the wrong lock and BOEM!

With regards,
Reinoud

Attachment: pgpEvjkkm8ZUY.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index