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

Dead lock issue

I've run into a deadlock issue in the JFFS2 code in the 2.6.7 Linux
kernel. Basically, jffs2_readpage is called with the page already locked
and then first tries to down f->sem before calling
jffs2_do_readpage_unlock. In contrast, the jffs2_setattr first downs
f->sem and then calls vmtruncate which will wait until the pages are all
unlocked. If the timing is right (or wrong) this will lead to a

Can anybody suggest a way of fixing this.

Jesus A. Martinez

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com