[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210723205840.299280-1-agruenba@redhat.com>
Date: Fri, 23 Jul 2021 22:58:33 +0200
From: Andreas Gruenbacher <agruenba@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@...radead.org>,
"Darrick J. Wong" <djwong@...nel.org>
Cc: Jan Kara <jack@...e.cz>, Matthew Wilcox <willy@...radead.org>,
cluster-devel@...hat.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, ocfs2-devel@....oracle.com,
Andreas Gruenbacher <agruenba@...hat.com>
Subject: [PATCH v3 0/7] gfs2: Fix mmap + page fault deadlocks
Hi Linus et al.,
here's an update of my gfs2 mmap + page fault fixes (against -rc2).
>From my point of view,
* these two are ready and need to be looked at by Al:
iov_iter: Introduce fault_in_iov_iter helper
iov_iter: Introduce noio flag to disable page faults
* these two need to be reviewed by Christoph at least:
iomap: Fix iomap_dio_rw return value for user copies
iomap: Support restarting direct I/O requests after user copy failures
Thanks a lot,
Andreas
Andreas Gruenbacher (7):
iov_iter: Introduce fault_in_iov_iter helper
gfs2: Add wrapper for iomap_file_buffered_write
gfs2: Fix mmap + page fault deadlocks for buffered I/O
iomap: Fix iomap_dio_rw return value for user copies
iomap: Support restarting direct I/O requests after user copy failures
iov_iter: Introduce noio flag to disable page faults
gfs2: Fix mmap + page fault deadlocks for direct I/O
fs/gfs2/file.c | 77 ++++++++++++++++++++++++++++++++++++++++----
fs/iomap/direct-io.c | 13 ++++++--
include/linux/mm.h | 3 ++
include/linux/uio.h | 2 ++
lib/iov_iter.c | 62 ++++++++++++++++++++++++++++++++---
mm/gup.c | 68 ++++++++++++++++++++++++++++++++++++++
6 files changed, 211 insertions(+), 14 deletions(-)
--
2.26.3
Powered by blists - more mailing lists