Re: [PATCH] rbd: bump queue_max_segments

2015-06-25 Thread Alex Elder
On 06/25/2015 04:01 AM, Ilya Dryomov wrote: The default queue_limits::max_segments value (BLK_MAX_SEGMENTS = 128) unnecessarily limits bio sizes to 512k (assuming 4k pages). rbd, being a virtual block device, doesn't have any restrictions on the number of physical segments, so bump max_segments

[PATCH] rbd: bump queue_max_segments

2015-06-25 Thread Ilya Dryomov
The default queue_limits::max_segments value (BLK_MAX_SEGMENTS = 128) unnecessarily limits bio sizes to 512k (assuming 4k pages). rbd, being a virtual block device, doesn't have any restrictions on the number of physical segments, so bump max_segments to max_hw_sectors, in theory allowing a sector