commit | 92a56555bd576c61b27a5cab9f38a33a1e9a1df5 | [log] [tgz] |
---|---|---|
author | David Jeffery <djeffery@redhat.com> | Tue Aug 05 11:19:42 2014 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Aug 22 18:04:44 2014 -0400 |
tree | d25e9c5821615dcb0e48d37373f36a0baa7f3e85 | |
parent | 78270e8fbc2916bfc8305b8f58f33474cce1ec0e [diff] |
nfs: Don't busy-wait on SIGKILL in __nfs_iocounter_wait 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>