Go to file
Scott Mayhew 6500833cf7 nfs: do not extend writes to the entire folio
JIRA: https://issues.redhat.com/browse/RHEL-59704

commit 39c910a430370fd25d5b5e4b2f4b24581a705499
Author: Christoph Hellwig <hch@lst.de>
Date:   Fri Jul 5 07:42:51 2024 +0200

    nfs: do not extend writes to the entire folio

    nfs_update_folio has code to extend a write to the entire page under
    certain conditions.  With the support for large folios this now
    suddenly extents to the variable sized and potentially much larger folio.
    Add code to limit the extension to the page boundaries of the start and
    end of the write, which matches the historic expecation and the code
    comments.

    Fixes: b73fe2dd6cd5 ("nfs: add support for large folios")
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
    Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
    Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
2024-11-05 07:34:04 -05:00
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs nfs: do not extend writes to the entire folio 2024-11-05 07:34:04 -05:00
include
init
io_uring
ipc
kernel
lib
mm
net
redhat
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS
Makefile
Makefile.rhelver
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.