Re: [PATCH 4.4 72/88] block: dont deal with discard limit in blkdev_issue_discard()

From: Mike Snitzer
Date: Fri Jan 11 2019 - 09:58:10 EST


On Fri, Jan 11 2019 at 9:25am -0500,
Mike Snitzer <snitzer@xxxxxxxxxx> wrote:

> On Fri, Jan 11 2019 at 9:08am -0500,
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> > 4.4-stable review patch. If anyone has any objections, please let me know.
> >
> > ------------------
> >
> > From: Ming Lei <ming.lei@xxxxxxxxxx>
> >
> > commit 744889b7cbb56a64f957e65ade7cb65fe3f35714 upstream.
>
> Hi Greg,
>
> Please also pick up this commit:
> 89f5fa47476eda56402e29fff3c5097f5c2a1e19 ("dm: call blk_queue_split() to
> impose device limits on bios")
>
> Thanks,
> Mike

But.. looking closer, since you're backporting to 4.4, to even have DM
be able to use bio_split() you'll need these 3 commits too:

18a25da84354c6bb655320de6072c00eda6eb602 ("dm: ensure bio submission follows a depth-first tree walk")
8dd601fa8317243be887458c49f6c29c2f3d719f ("dm: correctly handle chained bios in dec_pending()")
f21c601a2bb319ec19eb4562eadc7797d90fd90e ("dm: use bio_split() when splitting out the already processed bio")

Mike