]> git.hungrycats.org Git - linux/commit
[PATCH] Revert UDF inode semaphore locking
authorPeter Osterlund <petero2@telia.com>
Sun, 21 Mar 2004 07:23:11 +0000 (23:23 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 21 Mar 2004 07:23:11 +0000 (23:23 -0800)
commit9a45400e68ed622a4e7024018c1a4195fab165fa
treeef7cc2076ca3e2f525dd25175d6efd45f62cd7eb
parent72f7e48f1e83fa83fdb7f5eaaae57d9352f6a3aa
[PATCH] Revert UDF inode semaphore locking

For some reason I don't understand, the last UDF filesystem update makes
the UDF deadlock when I write a bunch of mp3 files to a CDRW using the
packet writing patch.  Both "cp" and pdflush get stuck in __down.

Reverting the semaphore changes makes the problem go away.  Use the
kernel lock again, until whatever recursive offender gets fixed.

(The offensive recursion seems to be: write() takes the inode semaphore,
causes memory pressure, and then trying to write back the inode or dirty
data to disk tries to get the semaphore again and deadlocks.)
fs/udf/file.c
fs/udf/inode.c