Hi!
> > > To Do
> > > -----
> > > Loopback fs hangs
> >
> > Definitely show-stopper. Almost every distro (if not every) uses Loopback
> > for their installers, and Loopback is used for a lot of other things too.
>
> Are we talking about a loopback filesystem, or the loopback block
> device? Andries' patch for the loopback block device made it into a
> recent 2.3.x kernel.
If you are talking about drivers/block/loop.c, try this gem (from my
crc loop method patches):
Pavel
PS: Is there some interest in crc loop patch? It is pretty small, and
could be usefull in hunting IDE problems...
--- clean/drivers/block/loop.c Tue Mar 21 20:30:08 2000
+++ linux/drivers/block/loop.c Sat Apr 29 22:12:33 2000
@@ -750,6 +856,10 @@
EXPORT_SYMBOL(loop_register_transfer);
EXPORT_SYMBOL(loop_unregister_transfer);
+void no_plug_device(void)
+{
+}
+
int __init loop_init(void)
{
int i;
@@ -795,6 +905,7 @@
}
blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST);
+ ((request_queue_t *) BLK_DEFAULT_QUEUE(MAJOR_NR))->plug_device_fn = no_plug_device;
blk_queue_headactive(BLK_DEFAULT_QUEUE(MAJOR_NR), 0);
for (i=0; i < max_loop; i++) {
memset(&loop_dev[i], 0, sizeof(struct loop_device));
-- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents me at discuss@linmodems.org- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:18 EST