bug-hurd
[Top][All Lists]
Advanced

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

Re: fatfs checked in


From: M. Gerards
Subject: Re: fatfs checked in
Date: Wed, 4 Dec 2002 20:45:46 +0100
User-agent: Internet Messaging Program (IMP) 3.1

> > There are still two locking problems. I'm working on those problems ATM. 
> > Because of those problems fatfs will most likely freeze while testing it.
> 
> Even in read-only mode?  My understanding was that the locking problems only
> occur when writing.  Certainly the fatfs I wrote (0.2) worked fine in read
> only mode.

No, it didn't. And if you are really sure, please tell me what I did wrong ;).

The problem is in read_node. It calls diskfs_cached_lookup to look up the
directory holding the node because the stat information (inode) is stored in the
directory. The directory needs to be locked, but is already locked in some 
cases.

There is another locking problem triggered by writing support, I assume you were
thinking about that one...

I thought I already explained this serveral times...

---------------
Marco Gerards




reply via email to

[Prev in Thread] Current Thread [Next in Thread]