]> git.hungrycats.org Git - linux/commit
[PATCH] Fix raid "bio too big" failures
authorAndrew Morton <akpm@osdl.org>
Thu, 14 Aug 2003 17:06:18 +0000 (10:06 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 14 Aug 2003 17:06:18 +0000 (10:06 -0700)
commitd2e45eace866ad229f3c27aeff1f69360a8f0ead
tree3bc9d5f687d6fcc1c051bfae0e4a46111b6442ff
parent94e77119e22496ec5e99a3b6e6b65b59a0392832
[PATCH] Fix raid "bio too big" failures

From: Neil Brown <neilb@cse.unsw.edu.au>

Fix "bio too big" problem with md

Whenever a device is attached to an md device, we make sure the sector
limits of the md device do not exceed those of the added device.
drivers/block/ll_rw_blk.c
drivers/md/linear.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
include/linux/blkdev.h