Don't apply the last patch. I messed up hardsect_size. The attached
patch should be correct.
Mike
--- linux-2.6.0-udm5.orig/drivers/md/dm-table.c 2004-01-22 21:11:53.000000000 -0800
+++ linux-2.6.0-udm5/drivers/md/dm-table.c 2004-01-23 00:53:13.425172378 -0800
@@ -633,11 +633,11 @@ static int split_args(int *argc, char **
static void set_default_limits(struct io_restrictions *rs)
{
- rs->max_sectors = MAX_SECTORS;
- rs->max_phys_segments = MAX_PHYS_SEGMENTS;
- rs->max_hw_segments = MAX_HW_SEGMENTS;
- rs->hardsect_size = 1 << SECTOR_SHIFT;
- rs->max_segment_size = MAX_SEGMENT_SIZE;
+ rs->max_sectors = -1;
+ rs->max_phys_segments = -1;
+ rs->max_hw_segments = -1;
+ rs->hardsect_size = 0;
+ rs->max_segment_size = -1;
rs->seg_boundary_mask = -1;
}