Re: JFFS3 & performance

David Woodhouse
2005-01-25T10:56:39Z

On Tue, 2005-01-25 at 11:51 +0100, Jörn Engel wrote:
> > RULE: Can not have any f->sem locked if gonna lock f->alloc_sem.
>
> Or c->erase_completion_lock if you want to lock either of the above.

That's obvious -- you can't lock semaphores while you hold spinlocks.

> Or c->inocache_lock if you want to lock either of the above.

That (inocache_lock vs. erase_completion_lock) is documented in
README.Locking.

--
dwmw2