[Drbd-dev] [PATCH v3 01/11] block: make generic_make_request handle arbitrarily sized bios

Ming Lin mlin at kernel.org
Fri May 22 09:51:03 CEST 2015


On 05/18/2015 10:22 AM, Christoph Hellwig wrote:
> On Mon, May 18, 2015 at 12:52:03PM -0400, Jeff Moyer wrote:
>>> +	return bio_split(bio, split_sectors, GFP_NOIO, bs);
>>
>> Much of this function is cut-n-paste from blk-lib.c.  Is there any way
>> to factor it out?
> 
> The code in blk-lib.c can go away now that any driver that cares
> does the split.

How about below?



More information about the drbd-dev mailing list