GitXplorerGitXplorer
n

imageio

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
3a238e9fdc472317513402c441f79eb196211c22

Go vet cleanups

nnirs committed 9 years ago
Unverified
4f652130f16a775a88ab4eddb8cafb77ba13c27c

Merge directio into fileio package

nnirs committed 9 years ago
Unverified
412092eef53e51405660b79005a6c1d11b8247fc

Remove directio.Enable and directio.Disable

nnirs committed 9 years ago
Unverified
541eaf051ed4f6f5a3f4ec1e6dc420d236de0aa6

Move ticket parsing to separate file

nnirs committed 9 years ago
Unverified
298922e08130791ad37f25bd337b167c05396d16

Add auth.MayRead and auth.MayWrite

nnirs committed 9 years ago
Unverified
2c92854ee4c3b6481132813875a011b7a365b41f

Move tests into the package they test

nnirs committed 9 years ago

README

The README file for this repository.

oVirt imageio

A port of ovirt-imageio to Go.

Packages

Most of the daemon packages are implemented.

  • images - images web server
  • auth - authrization for images operations
  • fileio - perform I/O to local file (file or block device)
  • testutil - utilities for testing
  • uuid - generates uuids version 4
  • bench - benchmarks tools

Testing

go test ./...

Benchmarking

go build bench/recvfile.go
touch image
time ./recvfile -progress image 1024 </dev/zero

Notes

  • Support only aligned images and offsets. The Python version try to support unaligned images and offsets, make the code too complicated, and images should always be aligned.

  • Ticket use {"mode": "rw"} instead of {"ops": ["read", "write"]}.