aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2019-06-27 17:28:40 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-27 17:28:40 -0700
commit8d3e72a180b42c01ec00045e1bb8eb91175adafe (patch)
tree28ceebc6e241391ac9a4f1a44e9da6122d02ba37 /fs/internal.h
parentLinux 5.2-rc4 (diff)
downloadlinux-dev-8d3e72a180b42c01ec00045e1bb8eb91175adafe.tar.xz
linux-dev-8d3e72a180b42c01ec00045e1bb8eb91175adafe.zip
iomap: don't mark the inode dirty in iomap_write_end
Marking the inode dirty for each page copied into the page cache can be very inefficient for file systems that use the VFS dirty inode tracking, and is completely pointless for those that don't use the VFS dirty inode tracking. So instead, only set an iomap flag when changing the in-core inode size, and open code the rest of __generic_write_end. Partially based on code from Christoph Hellwig. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions