Aaron Jacobs
3371ab70ac
Redefined the contents of OutMessage.
2015-07-28 16:06:23 +10:00
Aaron Jacobs
2d3078f8b9
Refactored the way freelists work.
2015-07-28 15:53:53 +10:00
Aaron Jacobs
3845b0f124
Use freelist.Freelist for buffer.InMessage.
2015-07-28 12:59:44 +10:00
Aaron Jacobs
5b5d8ff8be
Added a freelist package.
2015-07-28 12:56:16 +10:00
Aaron Jacobs
9232b8275f
Don't convert uint64 to interface{} for the context key every time.
...
This accounts for ~80% of gcsfuse allocations.
2015-07-28 12:52:38 +10:00
Aaron Jacobs
c968295acd
Don't spam the error logger so much.
2015-07-27 16:03:58 +10:00
Aaron Jacobs
83630d4268
Refactored the way the user obtains contexts and replies to ops.
...
The new interface gives much much cleaner documentation for package
fuseops, which is what we mostly look at. In particular, there isn't a
ton of stuttering in the method listings.
The change also simplifies the implementation of package fuseops, which
was becoming super unwieldy.
2015-07-27 15:56:27 +10:00
Aaron Jacobs
5c332f767b
Moved the kernel response functions to a more appropriate place.
2015-07-27 15:55:14 +10:00
Aaron Jacobs
4c33dd3f40
Fixed some long lines.
2015-07-27 15:53:20 +10:00
Aaron Jacobs
95a6177c0c
Fixed redundant internal op names.
2015-07-27 15:52:13 +10:00
Aaron Jacobs
407b005d68
Deleted some dead code.
2015-07-27 15:51:03 +10:00
Aaron Jacobs
9441e60ece
Don't write zero-length replies.
2015-07-27 15:50:05 +10:00
Aaron Jacobs
c997143411
Fixed a bug.
2015-07-27 15:49:38 +10:00
Aaron Jacobs
82289ebdd4
Fixed sample build errors.
2015-07-27 15:47:45 +10:00
Aaron Jacobs
e7a97bf905
Killed off fuseops.Op.
2015-07-27 15:44:59 +10:00
Aaron Jacobs
a99d69abce
Fixed a couple of out of date references.
2015-07-27 15:44:54 +10:00
Aaron Jacobs
522995296e
Fixed package fuse.
2015-07-27 15:44:17 +10:00
Aaron Jacobs
3755e3c1a1
Fixed package fuse.
2015-07-27 15:43:41 +10:00
Aaron Jacobs
e59dbd14f4
Killed methods.
2015-07-27 15:42:02 +10:00
Aaron Jacobs
56b1f10c47
Killed unexported fields.
2015-07-27 15:41:46 +10:00
Aaron Jacobs
b1b941d450
Deleted commonOp.
2015-07-27 15:40:46 +10:00
Aaron Jacobs
dfadf1e8df
Deleted Op.
2015-07-27 15:40:36 +10:00
Aaron Jacobs
ef3d11e2b1
It seems the write returns errors as a matter of course when unmounting.
2015-07-27 15:40:11 +10:00
Aaron Jacobs
20a01b67ef
Fixed more build errors.
2015-07-27 15:34:14 +10:00
Aaron Jacobs
9b9a86cf80
Fixed Connection.Reply.
2015-07-27 15:33:33 +10:00
Aaron Jacobs
612735d590
Retooled kernelResponse.
2015-07-27 15:32:17 +10:00
Aaron Jacobs
448c910c13
Write some of Connection.Reply.
2015-07-27 15:21:07 +10:00
Aaron Jacobs
dfb1b2d881
Fixed package memfs.
2015-07-27 15:15:53 +10:00
Aaron Jacobs
ea210ae2bb
Fixed package fuseutil.
2015-07-27 15:15:07 +10:00
Aaron Jacobs
dd1fcfedf5
Fixed more build errors.
2015-07-27 15:12:43 +10:00
Aaron Jacobs
d6d4cb87c5
Fixed Connection.Init.
2015-07-27 15:10:00 +10:00
Aaron Jacobs
fd0e095b3b
Reimplemented ReadOp.
2015-07-27 15:08:41 +10:00
Aaron Jacobs
8c5f6d8685
Updated the ReadOp signature.
2015-07-27 14:52:35 +10:00
Aaron Jacobs
8305caad55
Restored the internal ops.
2015-07-27 14:47:29 +10:00
Aaron Jacobs
2f92789219
Fixed some build errors.
2015-07-27 14:46:41 +10:00
Aaron Jacobs
a7bcfed288
Refactored kernelResponse methods into a single big function.
2015-07-27 14:45:59 +10:00
Aaron Jacobs
35d5c4c3fe
Fixed conversions.go.
2015-07-27 14:38:18 +10:00
Aaron Jacobs
125c36dba8
Fixed up unknownOp.
2015-07-27 14:37:59 +10:00
Aaron Jacobs
7035b69b93
Fixed a bunch more errors.
2015-07-27 14:35:26 +10:00
Aaron Jacobs
2b8c659517
Fixed several more build errors.
2015-07-27 14:33:19 +10:00
Aaron Jacobs
b78e8f91d7
Fixed several build errors.
2015-07-27 14:32:29 +10:00
Aaron Jacobs
f93dfe355f
Fixed the signature for Convert.
2015-07-27 14:30:34 +10:00
Aaron Jacobs
585af56849
Fixed a few more build errors.
2015-07-27 14:28:44 +10:00
Aaron Jacobs
623ae99fae
Fixed a build error.
2015-07-27 14:27:34 +10:00
Aaron Jacobs
eb5fba11cb
Renamed internalOp to opCommon.
2015-07-27 14:26:03 +10:00
Aaron Jacobs
ff06adf431
Trimmed the Op interface.
2015-07-27 14:24:45 +10:00
Aaron Jacobs
efeaec5ec7
Deleted internal ops.
2015-07-27 14:23:09 +10:00
Aaron Jacobs
dce2ceffdb
Deleted old kernelResponse methods.
2015-07-27 14:22:59 +10:00
Aaron Jacobs
6389e8773f
Fixed package name.
2015-07-27 14:21:36 +10:00
Aaron Jacobs
cf97f40c33
Moved over convert.go.
2015-07-27 14:20:54 +10:00