Pete Nelson
36a70c004e
buse.c: conditional defines to work with older nbd versions
2013-06-27 13:27:10 -04:00
comatose
a1e8b08807
* BUSEDevice.cpp:
2012-12-11 16:13:14 +09:00
comatose
892c132b43
* BUSEDevice.cpp:
2012-12-11 16:08:44 +09:00
comatose
897f21e4d3
* buse.c: Fixed a bug in read op.
2012-12-07 20:58:26 +09:00
comatose
9e9f31bf90
* buse.h: Added extern "C" keyword.
2012-12-07 15:13:43 +09:00
comatose
18c7ede4fb
Merge branch 'master' of https://github.com/comatose/BUSE
...
Conflicts:
buse.c
buse.h
busexmp.c
2012-12-03 08:29:18 +09:00
comatose
ce8145de67
.
2012-12-03 08:25:06 +09:00
comatose
408c99ba0b
Added some error handling.
2012-12-02 01:08:13 +09:00
comatose
44b2f13ad4
Add trim support.
2012-12-01 14:35:46 +09:00
comatose
01919ef8a1
initial trim support
2012-12-01 00:42:29 +09:00
Adam Cozzette
a1219f920f
Updated the .gitignore file.
2011-12-15 00:40:49 -08:00
Adam Cozzette
9a44badd00
Added a BUSE loopback device for benchmarking purposes.
2011-12-15 00:39:59 -08:00
Adam Cozzette
5c1ba95802
Added instructions on running the example code to the README.
2011-11-23 15:04:58 -08:00
Adam Cozzette
e49ded9330
Cleaned up the README. Copied some constants and struct definitions to buse.h so
...
that the code doesn't rely on a hard-coded location of nbd.h.
2011-11-23 14:34:43 -08:00
Adam Cozzette
d1704eb381
Changes to the BUSE memory disk example:
...
* Added a trivial disconnect function.
* Made it large enough to allow placing an ext2 file system with 4K blocks on
it.
2011-11-17 11:19:09 -08:00
Adam Cozzette
b6722defc5
Fixed a bug in buse.c where I was mistakenly relying on read and write syscalls
...
to complete an entire request in one call.
2011-11-17 11:17:53 -08:00
Adam Cozzette
28eb460f25
Various changes:
...
* Changed the Makefile to do static linking instead of dynamic.
* Fixed a bug in buse.c where I was passing &chunk instead of just chunk.
* Changed busexmp.c to correctly act as an in-memory disk instead of just
returning zeros.
* Other miscellaneous stuff
2011-11-15 14:44:38 -08:00
Adam Cozzette
3426987066
Adding a more correct trim function prototype to the struct of block device
...
operations.
2011-10-13 15:17:06 -07:00
Adam Cozzette
46ce45a571
Removing from the Makefile something specific to my personal configuration.
2011-10-09 23:57:12 -07:00
Adam Cozzette
9a9d2f7325
Edited .gitignore and Makefile to support building BUSE as a shared library.
2011-10-09 23:49:22 -07:00
Adam Cozzette
3b18f42311
Updated the .gitignore file and added a README.
2011-10-09 23:30:39 -07:00
Adam Cozzette
67c7f7c04a
Changed abuse to buse everywhere it appeared.
2011-10-09 23:20:39 -07:00
Adam Cozzette
fa6dc0152c
Committing various changes.
2011-10-09 22:30:30 -07:00
Adam Cozzette
552256907e
Hopefully resolved the byte order issues.
2011-09-27 04:56:36 -07:00
Adam Cozzette
595c02ce48
Trivial change to abuse.c.
2011-09-20 13:41:09 -07:00
Adam Cozzette
393233c2ac
Updating the Makefile and .gitignore file to account for the previous renaming.
2011-09-20 13:39:16 -07:00
Adam Cozzette
1963bcd8b4
Renaming abuse_example.c.
2011-09-20 13:38:12 -07:00
Adam Cozzette
32dd49fb46
Moving ABUSE closer to a working prototype.
2011-09-20 13:37:47 -07:00
Adam Cozzette
87d88effec
I know have a pretty horrible NBD server that serves up zeros. Just need to
...
improve it and modularize it.
2011-09-20 03:32:13 -07:00
Adam Cozzette
dd485d65c5
Hacking away at stuff. Pretty soon there should be a working prototype.
2011-09-20 02:30:00 -07:00
Adam Cozzette
38e830a79d
Reorganizing.
2011-09-20 01:31:35 -07:00
Adam Cozzette
75cc992bca
Committing a bunch o' stuff. This is all going to change very soon.
2011-09-20 01:26:10 -07:00
Adam Cozzette
eee7d112bf
Added the initial file (the gznbd.c example) which I will start hacking on. Also
...
a Makefile.
2011-09-19 23:01:11 -07:00