Commit bf72e973 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] direct-io bandaid

The direct-IO code is currently generating 1 meg BIOs (and
subsequent BUGs) because it doesn't know about bio_add_page().

Could we please drop it to 16k until we get it sorted out?
parent 7fcc2c87
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* The largest-sized BIO which this code will assemble, in bytes. Set this * The largest-sized BIO which this code will assemble, in bytes. Set this
* to PAGE_SIZE if your drivers are broken. * to PAGE_SIZE if your drivers are broken.
*/ */
#define DIO_BIO_MAX_SIZE BIO_MAX_SIZE #define DIO_BIO_MAX_SIZE (16*1024)
/* /*
* How many user pages to map in one call to get_user_pages(). This determines * How many user pages to map in one call to get_user_pages(). This determines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment