Skip to content
Commit 59fe27c0 authored by Joern Engel's avatar Joern Engel
Browse files

Limit max_pages for insane devices



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: default avatarJoern Engel <joern@logfs.org>
parent 49137f2e
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