[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVXFVPfC3JZMHoLwJXyfTxGkGKcQV1MZQ3+mSgXkBLMmbiCcQ@mail.gmail.com>
Date: Fri, 21 Apr 2017 23:14:58 +0800
From: Ming Lei <tom.leiming@...il.com>
To: NeilBrown <neilb@...e.com>
Cc: Jens Axboe <axboe@...nel.dk>,
linux-block <linux-block@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/11] blk: remove bio_set arg from blk_queue_split()
On Thu, Apr 20, 2017 at 1:38 PM, NeilBrown <neilb@...e.com> 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@...e.com>
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks,
Powered by blists - more mailing lists