[RFC,v3,0/2] Fix gfs2 readahead deadlocks
mbox series

Message ID 20200707144457.1603400-1-agruenba@redhat.com
Headers show
Series
  • Fix gfs2 readahead deadlocks
Related show

Message

Andreas Gruenbacher July 7, 2020, 2:44 p.m. UTC
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(-)