18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com> 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci#include <linux/nfs_fs.h> 68c2ecf20Sopenharmony_ci#include "nfs4_fs.h" 78c2ecf20Sopenharmony_ci#include "internal.h" 88c2ecf20Sopenharmony_ci#include "nfs4session.h" 98c2ecf20Sopenharmony_ci#include "callback.h" 108c2ecf20Sopenharmony_ci#include "pnfs.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define CREATE_TRACE_POINTS 138c2ecf20Sopenharmony_ci#include "nfs4trace.h" 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifdef CONFIG_NFS_V4_1 168c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_read); 178c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_write); 188c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_commit_ds); 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_read); 218c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_write); 228c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_get_mirror_count); 238c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_done); 248c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_done); 258c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_pagelist); 268c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_pagelist); 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_read_error); 298c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_write_error); 308c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_commit_error); 318c2ecf20Sopenharmony_ci#endif 32