gvisor/pkg/p9
Jamie Liu 3fd4b83fa3 Remove use of channels from p9.connState legacy transport.
- Remove sendDone, which currently does nothing whatsoever (errors sent to the
  channel are completely unused). Instead, have request handlers log errors
  they get from p9.send() inline.

- Replace recvOkay and recvDone with recvMu/recvIdle/recvShutdown. In addition
  to being slightly clearer (IMO), this eliminates the p9.connState.service()
  goroutine, significantly reducing the overhead involved in passing connection
  receive access between goroutines (from buffered chan send/recv + unbuffered
  chan send/recv to just a mutex unlock/lock).

PiperOrigin-RevId: 327476755
2020-08-19 11:58:59 -07:00
..
p9test Standardize on tools directory. 2020-01-27 12:21:00 -08:00
BUILD Move p9.pool to a separate package 2020-02-06 10:07:45 -08:00
buffer.go Un-export p9 message encode/decode functions. 2020-02-14 12:23:10 -08:00
buffer_test.go
client.go Return EIO from p9 if sending/receiving fails. 2020-04-10 11:36:57 -07:00
client_file.go Support listxattr and removexattr syscalls. 2020-02-07 14:47:13 -08:00
client_test.go Eliminate one allocation per send/recv for non-flipcall transport. 2020-08-11 16:43:23 -07:00
file.go Add concurrency guarantees to p9 extended attribute methods. 2020-04-06 20:08:51 -07:00
handlers.go Handle os.LinkError in p9/handlers.go. 2020-04-09 11:17:11 -07:00
messages.go p9: fix `registry.get` ob1 bug 2020-07-21 22:42:18 +01:00
messages_test.go Avoid sending a partial dirent when the Rreaddir response exceeds message limit. 2020-04-02 22:03:20 -07:00
p9.go Port fallocate to VFS2. 2020-07-01 13:14:44 -07:00
p9_test.go
path_tree.go
server.go Remove use of channels from p9.connState legacy transport. 2020-08-19 11:58:59 -07:00
transport.go Eliminate one allocation per send/recv for non-flipcall transport. 2020-08-11 16:43:23 -07:00
transport_flipcall.go Return EIO from p9 if sending/receiving fails. 2020-04-10 11:36:57 -07:00
transport_test.go Eliminate one allocation per send/recv for non-flipcall transport. 2020-08-11 16:43:23 -07:00
version.go Support listxattr and removexattr syscalls. 2020-02-07 14:47:13 -08:00
version_test.go