[dm-devel] Backport request for bcb44433bba5 ("dm: disable DISCARD if the underlying storage no longer supports it")

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Aug 20 16:23:25 UTC 2019


On Sun, Aug 18, 2019 at 10:44:36PM +0200, Salvatore Bonaccorso wrote:
> hi Greg,
> 
> On Sun, Aug 18, 2019 at 08:33:05PM +0200, Greg Kroah-Hartman wrote:
> > On Sun, Aug 18, 2019 at 05:59:41PM +0200, Salvatore Bonaccorso wrote:
> > > Hi
> > > 
> > > In Debian bug https://bugs.debian.org/934331 ran into issues which
> > > match the upstream commit bcb44433bba5 ("dm: disable DISCARD if the
> > > underlying storage no longer supports it").
> > > 
> > > This commit was CC'ed to stable, but only got applied in v5.0.8 (and
> > > later on backported by Ben Hutchings to v3.16.72).
> > > 
> > > Mike, I have not checked how easily that would be for older stable
> > > versions, but can the backport be considered for versions down to 4.9?
> > > Apparently Ben did succeed with some changes needed. To 4.19 it should
> > > apply with a small conflict in drivers/md/dm-core.h AFAICS.
> > 
> > If someone sends the backports to the list, I will be glad to queue them
> > up.
> 
> Here is the one for 4.19 on top of 4.19.67. It's my first contribution
> on this regard. Given the change to be applied was only about the
> context change in drivers/md/dm-core.h I'm unsure if the Signed-off-by
> is the right addition to do as well.

Yes it is!

Now queued up, thanks.

greg k-h




More information about the dm-devel mailing list