]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
gfs2: Use iomap for stuffed direct I/O reads
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 27 Jun 2018 00:59:18 +0000 (01:59 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 24 Jul 2018 22:08:40 +0000 (00:08 +0200)
commit1d45bb7f9d2a5cbae1e5d9a5f72adad84db4d318
treec739c8934de8817353140b42e9dc3d37df9a81d4
parent0ed91eca1130e6c0fe66e01fa6ea92965e81900c
gfs2: Use iomap for stuffed direct I/O reads

Remove the fallback code from direct to buffered I/O for stuffed reads.

For stuffed writes, we must keep the fallback code: the deferred glock
we are holding under direct I/O doesn't allow to write to the inode or
change the file size.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/file.c