Code Monkey home page Code Monkey logo

otaru's People

Contributors

hajimehoshi avatar nyaxt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

otaru's Issues

CachedBlobStore needs major rewrite

Hard to Understand

It should have at least minimum documentation on its architecture and basic code flow

Vague Layering and Violations

  • Internal members of CachedBlobEntry shouldn't be touched casually.
  • invalidateCacheBlob takes an instance of CachedBlobStore. srsly?

CachedBlobEntryManager entry writeback scheduling

We currently casually block on Open, but we should avoid it by scheduling write back better.

CachedBlobEntry.mu held too long

We should avoid scheduling backend IO while holding mu.
Maybe introduce more "-ing" states.

bfuse: short kernel write

2015/08/13 08:53:27 D [bfuse] main.go:93: short kernel write: written=16/4112 error="" stack=
goroutine 3596 [running]:
bazil.org/fuse.stack(0x0, 0x0)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/debug.go:9 +0x84
bazil.org/fuse.(*Conn).writeToKernel(0xc2083c1080, 0xc215c36000, 0x1010, 0x1010, 0x0, 0x0)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/fuse.go:1045 +0x15f
bazil.org/fuse.(*Conn).respond(0xc2083c1080, 0xc215c36000, 0x1010, 0x1010)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/fuse.go:1052 +0x55
bazil.org/fuse.(*Header).respond(0xc2160c49a0, 0xc215c36000, 0x1010, 0x1010)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/fuse.go:278 +0x5d
bazil.org/fuse.(*ReadRequest).Respond(0xc2160c49a0, 0xc216233360)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/fuse.go:1686 +0x16f
bazil.org/fuse/fs.(*Server).serve(0xc2082be000, 0xb3b238, 0xc2160c49a0)
    /Users/kouhei/go/src/github.com/nyaxt/otaru/Godeps/_workspace/src/bazil.org/fuse/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.