summaryrefslogtreecommitdiff
path: root/Documentation/local_ops.txt
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-05 17:26:31 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-08-07 21:07:40 (GMT)
commitf8806c843f88a6b7d657cf24c3682bc2efda6fdb (patch)
tree6ac028b704a1f3c78f7dc98cc5fbf1de5e3a543c /Documentation/local_ops.txt
parent786615bc1ce84150ded80daea6bd9f6297f48e73 (diff)
downloadlinux-fsl-qoriq-f8806c843f88a6b7d657cf24c3682bc2efda6fdb.tar.xz
NFS: Fix writeback performance issue on cache invalidation
If a cache invalidation is triggered, and we happen to have a lot of writebacks cached at the time, then the call to invalidate_inode_pages2() will end up calling ->launder_page() on each and every dirty page in order to sync its contents to disk, thus defeating write coalescing. The following patch ensures that we try to sync the inode to disk before calling invalidate_inode_pages2() so that we do the writeback as efficiently as possible. Reported-by: William Dauchy <william@gandi.net> Reported-by: Pascal Bouchareine <pascal@gandi.net> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Tested-by: William Dauchy <william@gandi.net> Reviewed-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'Documentation/local_ops.txt')
0 files changed, 0 insertions, 0 deletions