linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC v3 0/2] Fix gfs2 readahead deadlocks
@ 2020-07-07 14:44 Andreas Gruenbacher
  2020-07-07 14:44 ` [RFC v3 1/2] fs: Add IOCB_NOIO flag for generic_file_read_iter Andreas Gruenbacher
  2020-07-07 14:44 ` [RFC v3 2/2] gfs2: Rework read and page fault locking Andreas Gruenbacher
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Gruenbacher @ 2020-07-07 14:44 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Matthew Wilcox, Dave Chinner, Jens Axboe, linux-fsdevel,
	linux-mm, linux-kernel, Andreas Gruenbacher

In the previous version, we could end up calling ->readpage without
checking IOCB_NOIO.

Andreas Gruenbacher (2):
  fs: Add IOCB_NOIO flag for generic_file_read_iter
  gfs2: Rework read and page fault locking

 fs/gfs2/aops.c     | 45 +--------------------------------------
 fs/gfs2/file.c     | 52 ++++++++++++++++++++++++++++++++++++++++++++--
 include/linux/fs.h |  1 +
 mm/filemap.c       | 23 ++++++++++++++++++--
 4 files changed, 73 insertions(+), 48 deletions(-)

-- 
2.26.2



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

end of thread, other threads:[~2020-07-07 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 14:44 [RFC v3 0/2] Fix gfs2 readahead deadlocks Andreas Gruenbacher
2020-07-07 14:44 ` [RFC v3 1/2] fs: Add IOCB_NOIO flag for generic_file_read_iter Andreas Gruenbacher
2020-07-07 18:39   ` Jens Axboe
2020-07-07 21:42     ` Andreas Grünbacher
2020-07-07 14:44 ` [RFC v3 2/2] gfs2: Rework read and page fault locking Andreas Gruenbacher

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).