Re: [PATCH 5.4] iomap: fix sub-page uptodate handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 17, 2021 at 09:42:26AM +0200, Greg KH wrote:
> On Sun, May 16, 2021 at 04:03:28PM +0100, Matthew Wilcox (Oracle) wrote:
> > From: Christoph Hellwig <hch@xxxxxx>
> > 
> > commit 1cea335d1db1ce6ab71b3d2f94a807112b738a0f upstream
> > 
> > bio completions can race when a page spans more than one file system
> > block.  Add a spinlock to synchronize marking the page uptodate.
> > 
> > Fixes: 9dc55f1389f9 ("iomap: add support for sub-pagesize buffered I/O without buffer heads")
> > Reported-by: Jan Stancek <jstancek@xxxxxxxxxx>
> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> > Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
> > Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> > ---
> >  fs/iomap/buffered-io.c | 34 ++++++++++++++++++++++++----------
> >  include/linux/iomap.h  |  1 +
> >  2 files changed, 25 insertions(+), 10 deletions(-)
> 
> No s-o-b from you as you did the backport?  :(

My mistake.  I don't do stable backports of other people's patches very
often.

Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

> Anyway, what about a 4.19.y version?

I'll look into it and see what I can do.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux