mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
47f7c95632
While decoding filelayout getdeviceinfo received, print out the information about the location of data servers (IPs). Generic getdeviceinfo tracepoints prints the MDS's ip for the dstaddr. In this patch, separate the MDS's address from the DS's addresses. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2013 Trond Myklebust <Trond.Myklebust@netapp.com>
|
|
*/
|
|
#include <linux/nfs_fs.h>
|
|
#include "nfs4_fs.h"
|
|
#include "internal.h"
|
|
#include "nfs4session.h"
|
|
#include "callback.h"
|
|
#include "pnfs.h"
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include "nfs4trace.h"
|
|
|
|
#ifdef CONFIG_NFS_V4_1
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_read);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_write);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(nfs4_pnfs_commit_ds);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_read);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_init_write);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_pg_get_mirror_count);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_done);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_done);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_read_pagelist);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(pnfs_mds_fallback_write_pagelist);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_read_error);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_write_error);
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(ff_layout_commit_error);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(fl_getdevinfo);
|
|
#endif
|