lkml.org 
[lkml]   [1996]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 1.3.93, loop better but still broke
On 23 Apr 1996 Ray_Van_Tassle-CRV004@email.mot.com wrote:

> In 1.3.93, loop (use a file for a filesystem) works better, but still locks
> up. Before 91, it would lock up in less than a minute.

The basic problem seems to be that we have a dependency between two block
devices, yet some resources are shared between all drivers (the unplug task
queue and the empty requests pool).

Does the following tiny patch help ? (it is not really mine - it was
introduced around 1.3.78 for MD, when it was still a block device driver).

Gadi Oxman
gadio@netvision.net.il

--- ll_rw_blk.c.old Wed Apr 24 05:08:07 1996
+++ ll_rw_blk.c Wed Apr 24 05:09:18 1996
@@ -335,6 +335,11 @@
return;
}

+#ifdef CONFIG_BLK_DEV_LOOP
+ if (major == LOOP_MAJOR)
+ max_req /= 2;
+#endif /* CONFIG_BLK_DEV_LOOP */
+
/* look for a free request. */

/*

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.080 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site