diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-12-18 22:39:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-16 22:06:46 +0300 |
commit | 09f453630a5cd33af480e4b8aa62e98e35dae20e (patch) | |
tree | 56248c721fe06e06782909e8eda3ba2bea3ffcd2 /include/linux | |
parent | 4be335576ecabc281ddc688a2057aca5bf6a4fd4 (diff) | |
download | linux-09f453630a5cd33af480e4b8aa62e98e35dae20e.tar.xz |
NFS: Add a cond_resched() to nfs_commit_release_pages()
commit 7f1bda447c9bd48b415acedba6b830f61591601f upstream.
The commit list can get very large, and so we need a cond_resched()
in nfs_commit_release_pages() in order to ensure we don't hog the CPU
for excessive periods of time.
Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions