Skip to content
Commit 5b99c2ff authored by Jens Axboe's avatar Jens Axboe
Browse files

block: make bi_phys_segments an unsigned int instead of short



raid5 can overflow with more than 255 stripes, and we can increase it
to an int for free on both 32 and 64-bit archs due to the padding.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 960e739d
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