aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-04-10 12:19:40 +1000
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-04-20 13:44:57 -0400
commit62b2417e84ba0734d3f4f95a17e6f5f0be54d75a (patch)
treef3389ff25d0fa5282531b726a9a9d8d3086374cd /tools/perf/scripts/python/export-to-postgresql.py
parentNFS: fix usage of mempools. (diff)
downloadlinux-dev-62b2417e84ba0734d3f4f95a17e6f5f0be54d75a.tar.xz
linux-dev-62b2417e84ba0734d3f4f95a17e6f5f0be54d75a.zip
sunrpc: don't check for failure from mempool_alloc()
When mempool_alloc() is allowed to sleep (GFP_NOIO allows sleeping) it cannot fail. So rpc_alloc_task() cannot fail, so rpc_new_task doesn't need to test for failure. Consequently rpc_new_task() cannot fail, so the callers don't need to test. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions