[PATCH 01/13] blk: remove bio_set arg from blk_queue_split()

2017-06-17 Thread NeilBrown
blk_queue_split() is always called with the last arg being q->bio_split, where 'q' is the first arg. Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses q->bio_split. This is inconsistent and unnecessary. Remove the last arg and always use q->bio_split inside blk_queue_sp

Re: [PATCH 01/13] blk: remove bio_set arg from blk_queue_split()

2017-05-02 Thread javigon
> On 2 May 2017, at 05.42, NeilBrown wrote: > > blk_queue_split() is always called with the last arg being q->bio_split, > where 'q' is the first arg. > > Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses > q->bio_split. > > This is inconsistent and unnecessary. Remo

[PATCH 01/13] blk: remove bio_set arg from blk_queue_split()

2017-05-01 Thread NeilBrown
blk_queue_split() is always called with the last arg being q->bio_split, where 'q' is the first arg. Also blk_queue_split() sometimes uses the passed-in 'bs' and sometimes uses q->bio_split. This is inconsistent and unnecessary. Remove the last arg and always use q->bio_split inside blk_queue_sp