![]() | |||||||||||
Messages in this thread |
This may already be handled?
submit_bh() calls submit_bio() which calls __generic_make_request() and
there we do:
if (unlikely(bio_sectors(bio) > q->max_hw_sectors)) {
printk("bio too big device %s (%u > %u)\n",
bdevname(bio->bi_bdev, b),
bio_sectors(bio),
q->max_hw_sectors);
goto end_io;
}
So if we try to push a too large buffer down with submit_bh() we get a
failure.
-
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/
| ||||||||||
| Last update: 2007-08-31 03:51 [from the cache] ©2003-2008 | |||||||||||