Home
last modified time | relevance | path

Searched hist:"1 cea335d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/iomap/
H A Dbuffered-io.c1cea335d Wed Dec 04 11:33:52 CST 2019 Christoph Hellwig <hch@lst.de> iomap: fix sub-page uptodate handling

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@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
1cea335d Wed Dec 04 11:33:52 CST 2019 Christoph Hellwig <hch@lst.de> iomap: fix sub-page uptodate handling

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@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>