Adam Cozzette
8b37d93f7d
Fixed #ifdefs in buse.c
...
A couple #ifdefs were broken because the identifiers they were testing are
defined as members of an enum, not as macros. This commit changes them to use
actual macros that ought to serve the intended purpose of feature checking.
2013-11-03 10:19:58 -08:00
Adam Cozzette
3d47e9d5bf
Converted the README to Markdown
2013-06-30 19:26:35 -07:00
Pete Nelson
3287a9e67b
Merge branch 'master' of https://github.com/acozzette/BUSE
2013-06-29 11:06:36 -04:00
Pete Nelson
c0b948de36
Merge remote-tracking branch 'origin/master'
2013-06-29 11:05:05 -04:00
comatose
0ab67ea733
Merge pull request #1 from petiepooo/bugfixes
...
Bugfixes
2013-06-28 13:54:38 -07:00
comatose
934a1e31ec
Merge pull request #2 from petiepooo/gplv2-lic
...
apply GPLv2 license to BUSE project (original author must approve)
2013-06-28 13:52:57 -07:00
Adam Cozzette
3d75d50d5a
Merge pull request #1 from petiepooo/gplv2-lic
...
apply GPLv2 license to BUSE project (original author must approve)
2013-06-28 08:31:35 -07:00
Pete Nelson
9b16fb354e
apply GPLv2 license to BUSE project (original author must approve)
2013-06-28 10:50:13 -04:00
Pete Nelson
a612b72df8
Merge branch 'bugfixes'
2013-06-27 17:07:56 -04:00
Pete Nelson
6ba3d26042
buse.c: add assertions to avoid null function ptrs
2013-06-27 17:03:10 -04:00
Pete Nelson
e4fd3b729f
loopback.c, busexmp.c: get rid of compiler warnings
2013-06-27 17:03:10 -04:00
Pete Nelson
c322c1035f
loopback.c: fix bug in call to buse_main()
2013-06-27 15:09:17 -04:00
Pete Nelson
8439322930
buse.h: use distro's nbd.h instead of copy/paste
2013-06-27 13:27:53 -04:00
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