]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pNFS: Add nfsstats counters for number of Layouts
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 13 Nov 2021 01:32:55 +0000 (17:32 -0800)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 27 Nov 2021 02:20:16 +0000 (18:20 -0800)
commit0aa59ac827864628b545e5fb993cb67033df907e
treeee3eb3155cc6e494edd49ba91f6342b5a3ae823e
parentc41d129485e0c2519397ff7e740e9401f948a74c
pNFS: Add nfsstats counters for number of Layouts

For pNFS, Layouts are issued by the server to indicate
where a file's data resides on the DS(s).  This patch
adds counters for how many layouts are allocated to
the nfsstatsv1 structure, using two reserved fields.

(cherry picked from commit ce9676de86f267986f61979151101e3d8a6d61bc)
sys/fs/nfs/nfsport.h
sys/fs/nfsclient/nfs_clstate.c
sys/fs/nfsserver/nfs_nfsdstate.c