Change in ...nfs-ganesha[next]: Use display_buffer for logging file handles, add new Log macros
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458514
Change subject: Use display_buffer for logging file handles, add new Log macros
......................................................................
Use display_buffer for logging file handles, add new Log macros
New Log macros are introduced to make it easier to log messages
that include file handles. Particularly for NFS v3 operations,
LogNFS3_Operation logs the entry to an operation complete with
handle and any additional parameters desired. LogNFS3_Operation2
is for the operations with two handles.
LogHandleNFS4 replaces sprint_fhandle4.
LogCompoundFH is turned into a macro for better line number
reporting.
All the sprint_handle functions are removed as well as the now
uneccesary sprint_mem.
Change-Id: Ie76757a5115a4a541dcee72f6e62d20ed61f2577
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/MainNFSD/nfs_worker_thread.c
M src/Protocols/NFS/mnt_Mnt.c
M src/Protocols/NFS/nfs3_access.c
M src/Protocols/NFS/nfs3_commit.c
M src/Protocols/NFS/nfs3_create.c
M src/Protocols/NFS/nfs3_fsinfo.c
M src/Protocols/NFS/nfs3_fsstat.c
M src/Protocols/NFS/nfs3_getattr.c
M src/Protocols/NFS/nfs3_link.c
M src/Protocols/NFS/nfs3_lookup.c
M src/Protocols/NFS/nfs3_mkdir.c
M src/Protocols/NFS/nfs3_mknod.c
M src/Protocols/NFS/nfs3_pathconf.c
M src/Protocols/NFS/nfs3_read.c
M src/Protocols/NFS/nfs3_readdir.c
M src/Protocols/NFS/nfs3_readdirplus.c
M src/Protocols/NFS/nfs3_readlink.c
M src/Protocols/NFS/nfs3_remove.c
M src/Protocols/NFS/nfs3_rename.c
M src/Protocols/NFS/nfs3_rmdir.c
M src/Protocols/NFS/nfs3_setattr.c
M src/Protocols/NFS/nfs3_symlink.c
M src/Protocols/NFS/nfs3_write.c
M src/Protocols/NFS/nfs4_op_restorefh.c
M src/Protocols/NFS/nfs4_op_savefh.c
M src/Protocols/NLM/nlm_Share.c
M src/Protocols/NLM/nlm_Unshare.c
M src/include/nfs_file_handle.h
M src/support/nfs_filehandle_mgmt.c
29 files changed, 242 insertions(+), 519 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/458514/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/458514
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ie76757a5115a4a541dcee72f6e62d20ed61f2577
Gerrit-Change-Number: 458514
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange