sapling/eden/fs/nfs
Yicheng Wang 9ca84bc057 Adding AcceptInfo into connectionAccepted of AsyncSocket callback
Summary:
AsyncServerSocket works like this:
1) a socket is accepted from the fd
2) the socket is pushed into the socket queue
3) the connectionAccepted() callback is called with the socket is dequeued

Things happening before connectionAccepted() are like black box to us currently. For example the time taken for a socket to sit in the socket queue is completely unknown. Adding this AcceptInfo into the callback could allow us to pass more information to downstream for instrumenting.

This diff only pass timestamp of before the socket is being pushed into the queue.

Reviewed By: yfeldblum

Differential Revision: D31633582

fbshipit-source-id: 66072955318388c2410b48313d3d54078edce478
2021-11-01 18:23:24 -07:00
..
portmap nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
rpc Adding AcceptInfo into connectionAccepted of AsyncSocket callback 2021-11-01 18:23:24 -07:00
test use portable version of gtest 2021-05-12 15:58:27 -07:00
testharness use portable version of gtest 2021-05-12 15:58:27 -07:00
xdr use portable version of gtest 2021-05-12 15:58:27 -07:00
CMakeLists.txt introduce NfsRequsetContext 2021-07-26 16:04:03 -07:00
DirList.cpp nfs: make XdrTrait<T>::serializedSize non constexpr 2021-03-22 19:27:38 -07:00
DirList.h nfs: implement the READDIR RPC 2021-03-18 10:08:50 -07:00
Mountd.cpp allow remount after force unmounting 2021-05-27 16:11:50 -07:00
Mountd.h nfs: allow mountd and nfsd sockets to be non-inet on macOS 2021-05-12 13:06:57 -07:00
MountdRpc.cpp nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
MountdRpc.h nfs: ifdef it on Windows 2021-02-05 21:22:56 -08:00
Nfsd3.cpp add inode number to NFS trace event 2021-09-14 10:44:46 -07:00
Nfsd3.h add inode number to NFS trace event 2021-09-14 10:44:46 -07:00
NfsDispatcher.cpp fs: add an NfsDispatcher 2021-02-17 23:32:38 -08:00
NfsDispatcher.h nfs: convert Nfsd3 to ImmediateFuture 2021-05-13 16:51:34 -07:00
NfsdRpc.cpp nfs: add RPC types for MKNOD 2021-04-13 14:59:58 -07:00
NfsdRpc.h nfs: add RPC types for MKNOD 2021-04-13 14:59:58 -07:00
NfsRequestContext.cpp introduce NfsRequsetContext 2021-07-26 16:04:03 -07:00
NfsRequestContext.h introduce NfsRequsetContext 2021-07-26 16:04:03 -07:00
NfsServer.cpp support FS events logging in NFS mounts 2021-09-09 16:29:53 -07:00
NfsServer.h support FS events logging in NFS mounts 2021-09-09 16:29:53 -07:00