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

From: Ming Lei
Date: Fri Apr 21 2017 - 11:22:25 EST


On Thu, Apr 20, 2017 at 1:38 PM, NeilBrown <neilb@xxxxxxxx> 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. Remove the last arg and always use
> q->bio_split inside blk_queue_split()
>
> Signed-off-by: NeilBrown <neilb@xxxxxxxx>

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

Thanks,