Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jan Vesely
On Thu 07 Mar 2013 12:23:13 CET, Jan Vesely wrote: On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-25 Thread Jens Axboe
On Mon, Mar 25 2013, Jan Vesely wrote: On Thu 07 Mar 2013 12:23:13 CET, Jan Vesely wrote: On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their

Re: [PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-03-07 Thread Jan Vesely
Hi Jens, I have added you to cc, I'm not sure who to bug to get this patch merged. thanks, Jan Vesely On Thu 21 Feb 2013 09:30:26 CET, Jan Vesely wrote: The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft

[PATCH] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-02-21 Thread Jan Vesely
The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max segments and multiple pages in the last segment. This patch modifies the check to allow pages that can be