]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: add new tracepoint for pnfs_update_layout
authorJeff Layton <jlayton@poochiereds.net>
Thu, 10 Dec 2015 15:41:58 +0000 (10:41 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 14:57:14 +0000 (09:57 -0500)
commit17b88d47ea5d30ecc4f5b40e5490bf5417d95213
treec132b620128e2035a56baa9b3314d0aaf909647b
parentb3573e9992d2925dc0d5c33250b4de0d33c988b4
nfs: add new tracepoint for pnfs_update_layout

pnfs_update_layout is really the "nexus" of layout handling. If it
returns NULL then we end up going through the MDS. This patch adds
some tracepoints to that function that allow us to determine the
cause when we end up going through the MDS unexpectedly.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4trace.h
fs/nfs/pnfs.c
include/linux/nfs4.h