HomeFreeBSD

nfs_write(): do not call ncl_pager_setsize() after clearing TDP2_SBPAGES

Description

nfs_write(): do not call ncl_pager_setsize() after clearing TDP2_SBPAGES

This might unnecessary truncate file undoing extension done by the write.

Reported by: Yasuhiro Kimura <yasu@utahime.org>
Reviewed by: rmacklem
Tested by: rmacklem, Yasuhiro Kimura <yasu@utahime.org>
MFC after: 6 days
Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on Jan 23 2021, 9:40 PM
Parents
rGee0005f11f2b: netmap: simplify parameter passing
Branches
Unknown
Tags
Unknown