Patch #1798 has been updated. Project: Category: None Status: Open Summary: Fixes dir. dependancy and refcnt locking problem
Follow-Ups: Date: Tue 08/05/2003 at 23:23 By: marco_g Comment: This patch fixes Task #2489: "diskfs_node_refcnt_lock can be locked while write_node tries to lock it." Fatfs depends a lot on the directory of a file. It is opened every time when it reads from or writes to a file. This effect is recursively. It slows down fatfs and introduces some problems like this locking problem. I fixed this by adding a dependency to the directory for all opened files and I let every file hold a reference to that directory. Now fatfs consumes a bit more memory but that is much better than the currect situation because looking up the directory chain not only uses much memory but also much CPU time. ------------------------------------------------------- ------------------------------------------------------- For more info, visit: http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1798&group_id=30 _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd