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:14:44 +0300 |
commit | c8ebc7dd51be8d1ecc34ce43277ec7a6c0405a05 (patch) | |
tree | db5f0d779f1f0d9dd48bf4be55a1a0e610a13153 /fs/nfs/idmap.c | |
parent | 0dcc0912d39465102ffc5cd44ce6ac8d2d5c8933 (diff) | |
download | linux-c8ebc7dd51be8d1ecc34ce43277ec7a6c0405a05.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 'fs/nfs/idmap.c')
0 files changed, 0 insertions, 0 deletions