stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] block: fix splitting segments on boundary masks
@ 2020-07-09 14:35 Tony Battersby
  2020-07-09 15:26 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Battersby @ 2020-07-09 14:35 UTC (permalink / raw)
  To: stable
  Cc: linux-block, Ming Lei, Chris Mason, Guenter Roeck,
	Christoph Hellwig, Steven Rostedt (VMware),
	Jens Axboe

Although I was not originally involved in the development of these
patches, I recently came across them while looking over the source:

upstream commit 429120f3df2d ("block: fix splitting segments on boundary masks")
    Cc: stable@vger.kernel.org # v5.1+
    Fixes: dcebd755926b ("block: use bio_for_each_bvec() to compute multi-page bvec count")

upstream commit 4a2f704eb2d8 ("block: fix get_max_segment_size() overflow on 32bit arch")
    Fixes: 429120f3df2d ("block: fix splitting segments on boundary masks")

https://www.spinics.net/lists/linux-block/msg48605.html
https://www.spinics.net/lists/linux-block/msg48959.html


The first patch mentions fixing problems with filesystem corruption, so
it seems important, but it has never been included in any -stable
kernel.  Is there a specific reason these patches have been excluded
from -stable, or is it just a mistake?

These patches would be relevant to kernel versions 5.1 - 5.4, with 5.4.y
being the only active stable kernel series in that range.  The patches
apply cleanly on top of 5.4.51.

Tony Battersby
Cybernetics


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: fix splitting segments on boundary masks
  2020-07-09 14:35 [PATCH] block: fix splitting segments on boundary masks Tony Battersby
@ 2020-07-09 15:26 ` Guenter Roeck
  2020-07-20 13:08   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2020-07-09 15:26 UTC (permalink / raw)
  To: Tony Battersby, stable
  Cc: linux-block, Ming Lei, Chris Mason, Christoph Hellwig,
	Steven Rostedt (VMware),
	Jens Axboe

On 7/9/20 7:35 AM, Tony Battersby wrote:
> Although I was not originally involved in the development of these
> patches, I recently came across them while looking over the source:
> 
> upstream commit 429120f3df2d ("block: fix splitting segments on boundary masks")
>     Cc: stable@vger.kernel.org # v5.1+
>     Fixes: dcebd755926b ("block: use bio_for_each_bvec() to compute multi-page bvec count")
> 
> upstream commit 4a2f704eb2d8 ("block: fix get_max_segment_size() overflow on 32bit arch")
>     Fixes: 429120f3df2d ("block: fix splitting segments on boundary masks")
> 
> https://www.spinics.net/lists/linux-block/msg48605.html
> https://www.spinics.net/lists/linux-block/msg48959.html
> 
> 
> The first patch mentions fixing problems with filesystem corruption, so
> it seems important, but it has never been included in any -stable
> kernel.  Is there a specific reason these patches have been excluded
> from -stable, or is it just a mistake?
> 
See here:

https://www.spinics.net/lists/stable/msg355009.html

Looks like it was queued but dropped because of the problem that
was later fixed with the patch below. Maybe it is time to revisit
and apply both patches now.

Thanks,
Guenter

> These patches would be relevant to kernel versions 5.1 - 5.4, with 5.4.y
> being the only active stable kernel series in that range.  The patches
> apply cleanly on top of 5.4.51.
> 
> Tony Battersby
> Cybernetics
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: fix splitting segments on boundary masks
  2020-07-09 15:26 ` Guenter Roeck
@ 2020-07-20 13:08   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2020-07-20 13:08 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Tony Battersby, stable, linux-block, Ming Lei, Chris Mason,
	Christoph Hellwig, Steven Rostedt (VMware),
	Jens Axboe

On Thu, Jul 09, 2020 at 08:26:01AM -0700, Guenter Roeck wrote:
> On 7/9/20 7:35 AM, Tony Battersby wrote:
> > Although I was not originally involved in the development of these
> > patches, I recently came across them while looking over the source:
> > 
> > upstream commit 429120f3df2d ("block: fix splitting segments on boundary masks")
> >     Cc: stable@vger.kernel.org # v5.1+
> >     Fixes: dcebd755926b ("block: use bio_for_each_bvec() to compute multi-page bvec count")
> > 
> > upstream commit 4a2f704eb2d8 ("block: fix get_max_segment_size() overflow on 32bit arch")
> >     Fixes: 429120f3df2d ("block: fix splitting segments on boundary masks")
> > 
> > https://www.spinics.net/lists/linux-block/msg48605.html
> > https://www.spinics.net/lists/linux-block/msg48959.html
> > 
> > 
> > The first patch mentions fixing problems with filesystem corruption, so
> > it seems important, but it has never been included in any -stable
> > kernel.  Is there a specific reason these patches have been excluded
> > from -stable, or is it just a mistake?
> > 
> See here:
> 
> https://www.spinics.net/lists/stable/msg355009.html
> 
> Looks like it was queued but dropped because of the problem that
> was later fixed with the patch below. Maybe it is time to revisit
> and apply both patches now.

Ok, let me queue both up for 5.4.y now and see what happens :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-20 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 14:35 [PATCH] block: fix splitting segments on boundary masks Tony Battersby
2020-07-09 15:26 ` Guenter Roeck
2020-07-20 13:08   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).