]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uml: limit request size on COWed devices
authorJeff Dike <jdike@addtoit.com>
Mon, 16 Jul 2007 06:38:58 +0000 (23:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:41 +0000 (14:27 -0700)
commit37ed1c7082cb0af655d9f7ab5aca8c97c5150609
tree37488c32b539fd7d37140d98a305afd18c61e282
parented173ab97b4faeeb2809a81c2fa0e6e4f979d5bb
uml: limit request size on COWed devices

COWed devices can't handle more than 32 (64 on x86_64) sectors in one request
due to the size of the bitmap being carried around in the io_thread_req.

Enforce that by telling the block layer not to put too many sectors in
requests to COWed devices.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/drivers/ubd_kern.c