Skip to content
Commit 762380ad authored by Jens Axboe's avatar Jens Axboe
Browse files

block: add notion of a chunk size for request merging



Some drivers have different limits on what size a request should
optimally be, depending on the offset of the request. Similar to
dividing a device into chunks. Add a setting that allows the driver
to inform the block layer of such a chunk size. The block layer will
then prevent merging across the chunks.

This is needed to optimally support NVMe with a non-zero stripe size.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 046f1533
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