Limit max_pages for insane devices
authorJoern Engel <joern@logfs.org>
Wed, 17 Mar 2010 12:47:45 +0000 (13:47 +0100)
committerJoern Engel <joern@logfs.org>
Sat, 27 Mar 2010 10:19:14 +0000 (11:19 +0100)
Intel SSDs have a limit of 0xffff as queue_max_hw_sectors(q).  Such a
limit may make sense from a hardware pov, but it causes bio_alloc() to
return NULL.

Signed-off-by: Joern Engel <joern@logfs.org>

No differences found