]> www.infradead.org Git - users/dwmw2/linux.git/commit
gfs2: Align read and write chunks to the page cache
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 5 May 2022 11:32:23 +0000 (13:32 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 13 May 2022 20:00:22 +0000 (22:00 +0200)
commit324d116c5a5c8204dc00e63f725a3c5ed09afb53
tree0583a2e6757d92923fb4062e5c79ad245dc4febb
parent72382264502d9348ead372f82ecc3044de5c82d2
gfs2: Align read and write chunks to the page cache

Align the chunks that reads and writes are carried out in to the page
cache rather than the user buffers.  This will be more efficient in
general, especially for allocating writes.  Optimizing the case that the
user buffer is gfs2 backed isn't very useful; we only need to make sure
we won't deadlock.

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