Commits


fs/p9p/new: add readdir helpers Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: remove Dial function for being useless Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: describe handler interface and polish Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: cleanup type declarations Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: bring back type safety for message types Type safety for messages was removed to allowing message types to be anything. In particular, this was useful for error types. This introduced a few nasty bugs that wasn't worth the convenience of automatically packing errors over a server channel. Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: various client and server cleanup Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: add documentation comment for package Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: cleanup encoding/decoding We take some time to cleanup the codec implementation. The need for the message to implement the Message interface has been removed to allow flexibility in what can land in the message field. Error types can be returned directly now. The messages have been moved into a separate file. We also ensure that the number of pointer types is reduced in deserialized messages, hopefully avoiding unnecessary pointer traversal. Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: add version to context Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: refactor to use interface for channel Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: correct message encoding for Rerror message Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: proxy end to end fully working Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: initial implementation of 9ps To begin testing the server implementation, we defined a 9ps cmd. This simply proxies a client connection to a running ufs server but should let us develop a prototype without implementing all of ufs. Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: fix cat command in 9pr Signed-off-by: Stephen J Day <stephen.day@docker.com>


fs/p9p/new: allow 9pr configurable by flags Signed-off-by: Stephen J Day <stephen.day@docker.com>