diff options
author | David Jeffery <djeffery@redhat.com> | 2014-08-05 11:19:42 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-10-17 09:21:08 +0200 |
commit | f8af8eeb8306a965973c3061630d6975cab5e76c (patch) | |
tree | 97222c7881dabdf903054ca7df900a4902814da0 /net | |
parent | 645ccc08110dd0f49c2d94e58f26d567921d5a5f (diff) | |
download | lwn-f8af8eeb8306a965973c3061630d6975cab5e76c.tar.gz lwn-f8af8eeb8306a965973c3061630d6975cab5e76c.zip |
nfs: Don't busy-wait on SIGKILL in __nfs_iocounter_wait
commit 92a56555bd576c61b27a5cab9f38a33a1e9a1df5 upstream.
If a SIGKILL is sent to a task waiting in __nfs_iocounter_wait,
it will busy-wait or soft lockup in its while loop.
nfs_wait_bit_killable won't sleep, and the loop won't exit on
the error return.
Stop the busy-wait by breaking out of the loop when
nfs_wait_bit_killable returns an error.
Signed-off-by: David Jeffery <djeffery@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Neil Brown <nfbrown@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions