commit | 168e4b39d1afb79a7e3ea6c3bb246b4c82c6bdb9 | [log] [tgz] |
---|---|---|
author | Weston Andros Adamson <dros@netapp.com> | Tue Oct 30 17:01:40 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Nov 04 14:43:38 2012 -0500 |
tree | f5b591952b85baf4ec3a9c7c7e29d0667724eda4 | |
parent | 3d70f8c617a436c7146ecb81df2265b4626dfe89 [diff] |
SUNRPC: add WARN_ON_ONCE for potential deadlock rpc_shutdown_client should never be called from a workqueue context. If it is, it could deadlock looping forever trying to kill tasks that are assigned to the same kworker thread (and will never run rpc_exit_task). Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>