Commits
- Commit:
4b33cdd0d581b4485aad245efc054d90f4fabe51
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
Merge branch 'pinata-filtered'
- Commit:
1f1a1b98065abdda04bc9128e4d8d8202a75bdd1
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
Merge branch 'pinata-pkg-filtered' into pinata-filtered
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
55922182ebf8ddce9bcdd111e24a504549f91259
- From:
- David Scott <dave.scott@docker.com>
- Date:
p9p: remove per-message logging
Printing all requests and responses to the log is quite expensive,
especially when sending megabytes of data through 9P.
This patch leaves the logging in the error paths and the flush path.
Signed-off-by: David Scott <dave.scott@docker.com>
- Commit:
e342de7d52c80e5babe159afd1452c790e709fc0
- From:
- Adrien Duermael <adrien@docker.com>
- Date:
v1/pkg/p9p
- Commit:
269e4d4b21f59c17f781c377325982e8cd369857
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
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>
- Commit:
3bf22e5860ff26ad641dc222b8121a2bcae316c7
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: refactor to use interface for channel
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
40d4a02d02470ddbfcb31818213c5daea4d1f545
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: proxy end to end fully working
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
74ec7ac9af14822d5ae949cdd3cb58e9ffb6ea76
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: stat implementation and correct dir/Rstat encoding
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
a8abc68745cebc0f92ba31a589e2f6f33ce215a9
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: fully working ls with ufs
The repl and client session work fully with rminnich/go9p/ufs. The key to this
was proper support for directory serialization, which is subtle. The size field
for Rread was the incorrect size.
Several robustness improvements are also included. Issues with the timeouts and
missing error returns have been addressed.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
fb37ce2aa1f717002944b5aec393b3318e2e7261
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
fs/p9p/new: refactor channel framing
After a few connection bugs and framing issues, the transport has been
refactored into a channel that manages raw message sending. More importantly,
this frees up pre-session protocol version negotiation. To support this, the
encoder and decoder have been folded into a Codec interface. The encoding
support still needs work, but this has made the server and client code much
simpler to understand.
Signed-off-by: Stephen J Day <stephen.day@docker.com>