[PATCH] (quickfix) allow md devices to be used in 2.5.43

From: David Mansfield (david@cobite.com)
Date: Wed Oct 16 2002 - 13:59:30 EST


Al, list,

In order to accessing my md devices in 2.5.43, i needed the attached
patch to fs/block_dev.c. WARNING: it's probably very broken, because I
don't know what I'm doing. I essentially reverted most of the changes to
the do_open function, allowing the open() method of a device without an
attached gendisk to be called.

In the md scheme of things, the gendisk is created in the md_run stage,
which is only possible via ioctl after a successful open of the block
device.

However, something else is broken with the change to md.c, which detects
whether the disk is idle by checking the number of sectors read/written to
the disk.

I'm going to take a look at that now.

David

-- 
/==============================\
| David Mansfield              |
| david@cobite.com             |
\==============================/


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:29 EST