repo.or.cz
/
libnbd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Version 0.9.7.
2019-08-05
Richard
W
.
M
.
Jo
n
es
Version
0
.
9
.
7
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
Jones
o
c
aml
:
Add libnbd-o
c
aml
.
pod to
EXTRA_DIS
T
.
commit
|
commitdiff
|
tree
2019-08-05
Rich
a
rd W
.
M
.
Jones
gen
e
rato
r
: Add sp
a
ce accident
a
lly d
r
opp
e
d in
earlier
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
Jones
generat
o
r: Rename RConstString -> RStaticString
and
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
Jones
generator: Document t
h
at RString returns NULL for
error
.
commit
|
commitdiff
|
tree
2019-08-05
Ric
h
ard W
.
M
.
Jon
e
s
generator
:
Det
e
ct
NU
L
L St
r
i
n
g param
e
t
e
rs and return
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Ri
c
hard W
.
M
.
J
o
nes
gene
r
ator: Call d
e
bu
g
o
n
ly within
the lock
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
Jones
lib: P
r
int
f
u
n
c
t
ion call parameters and resu
l
ts in
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richar
d
W
.
M
.
J
o
n
es
a
p
i: Assign a uniq
u
e name to e
a
c
h
h
andle and emit it
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richard
W
.
M
.
J
o
nes
generator: A
d
d comment to gene
r
ated code about not
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
J
ones
lib: Rename nbd
_
internal_
r
eset_error -> nbd_i
n
terna
l
_set_e
r
r
.
.
.
commit
|
commitdiff
|
tree
2019-08-05
Richard W
.
M
.
Jone
s
generat
o
r: Factor out code for
h
andling re
t
urn types
.
.
.
commit
|
commitdiff
|
tree
2019-08-04
R
ichard
W
.
M
.
Jones
ocaml: Ad
d
a
man page
.
commit
|
commitdiff
|
tree
2019-08-04
Richard W
.
M
.
Jones
ocaml
:
Add an example using AI
O
APIs
.
commit
|
commitdiff
|
tree
2019-08-04
Richard W
.
M
.
J
ones
ocam
l
: Ad
d
NBD
.
B
u
ffer alloc a
n
d free
.
commit
|
commitdiff
|
tree
2019-08-04
Richar
d
W
.
M
.
J
o
n
es
ocaml: A
v
o
i
d uniniti
a
lised dat
a
when registering g
l
ob
a
l
.
.
.
commit
|
commitdiff
|
tree
2019-08-03
Richard W
.
M
.
J
on
e
s
o
caml
:
Mak
e
OCaml callbacks return int instead of unit
.
commit
|
commitdiff
|
tree
2019-08-03
Richard W
.
M
.
Jone
s
ocaml: Fix
typo in co
m
m
ent
.
commit
|
commitdiff
|
tree
2019-08-03
Richard
W
.
M
.
Jones
ocaml: Add make
i
n
stall rule
.
commit
|
commitdiff
|
tree
2019-08-03
Richard W
.
M
.
Jones
build:
A
d
d
.
/
configure
-
-disable
-
ocaml to d
i
sable OCam
l
.
.
.
commit
|
commitdiff
|
tree
2019-08-03
Richard W
.
M
.
Jones
g
e
nera
t
o
r
:
Add link to documen
t
ation in <libnbd
.
h
>
commit
|
commitdiff
|
tree
2019-08-03
R
ichard
W
.
M
.
J
ones
generato
r
:
Rem
o
ve some extraneous blank line
s
from
.
.
.
commit
|
commitdiff
|
tree
2019-08-03
R
i
chard
W
.
M
.
Jones
gen
e
rator: Gen
e
rate typedefs a
u
tomatically fo
r
Closure
.
.
.
commit
|
commitdiff
|
tree
2019-08-03
Richard
W
.
M
.
Jones
inc
l
ude: Remove
unused definition
of
n
bd_close_callback
.
commit
|
commitdiff
|
tree
2019-08-03
Richard W
.
M
.
Jon
e
s
run: S
e
t MALLO
C
_CHECK_=
1
when
u
sing
.
/
run
o
r running
.
.
.
commit
|
commitdiff
|
tree
2019-08-03
Richard
W
.
M
.
Jones
Fix
compi
l
a
tion with C+
+
.
commit
|
commitdiff
|
tree
2019-08-03
Richa
r
d W
.
M
.
Jones
tests
:
Ad
d
some basic
compile tests, inspired
b
y nbdki
t
.
commit
|
commitdiff
|
tree
2019-07-30
Richard W
.
M
.
Jones
Versio
n
0
.
9
.
6
.
commit
|
commitdiff
|
tree
2019-07-30
Richard W
.
M
.
Jone
s
lib: Add flags
par
a
m
e
ter to
n
b
d
_sh
u
tdown
.
commit
|
commitdiff
|
tree
2019-07-30
Richard W
.
M
.
Jones
generator: More consistency wit
h
whitespace
aro
u
n
d
.
.
.
commit
|
commitdiff
|
tree
2019-07-30
Richard W
.
M
.
Jones
l
i
b: Remov
e
coo
k
ie parameter from compl
e
t
ion
c
allb
a
cks
.
commit
|
commitdiff
|
tree
2019-07-30
Rich
a
rd W
.
M
.
Jones
examples: F
i
x theoretical cooki
e
race in example
.
commit
|
commitdiff
|
tree
2019-07-30
R
ichard W
.
M
.
Jone
s
l
ib: Re
n
ame
c
h
-> co
o
kie
.
commit
|
commitdiff
|
tree
2019-07-30
Richa
r
d W
.
M
.
Jon
e
s
lib
:
Use symbol vers
i
ons
.
commit
|
commitdiff
|
tree
2019-07-26
R
ichard
W
.
M
.
Jones
Ver
s
ion 0
.
1
.
9
.
commit
|
commitdiff
|
tree
2019-07-25
Richard W
.
M
.
Jones
api: New nbd_kill_
c
o
mmand API for s
e
n
d
ing
a
signal
.
.
.
commit
|
commitdiff
|
tree
2019-07-25
Richard W
.
M
.
Jones
te
s
t
s: Reduce del
a
y in closure
-
life
t
imes
t
e
s
t
.
commit
|
commitdiff
|
tree
2019-07-25
Richard W
.
M
.
J
ones
lib
:
S
et erro
r
contex
t
in nb
d
_crea
t
e,
n
bd_clo
s
e, an
d
.
.
.
commit
|
commitdiff
|
tree
2019-07-25
R
ichard W
.
M
.
J
o
nes
li
b
: Rem
o
ve
n
bd_
a
dd_close_c
a
llback
.
commit
|
commitdiff
|
tree
2019-07-25
Richa
r
d
W
.
M
.
Jones
l
i
b: Implement closure life
t
imes
.
commit
|
commitdiff
|
tree
2019-07-25
Richard
W
.
M
.
Jones
generator: Change Closu
r
e so it
de
s
cribes
s
ingle
c
al
l
b
acks
.
commit
|
commitdiff
|
tree
2019-07-25
Ri
c
hard W
.
M
.
J
o
nes
lib: Us
e
unsigned for pread_s
t
ructured status
para
m
eter
.
commit
|
commitdiff
|
tree
2019-07-22
Rich
a
r
d W
.
M
.
Jones
docs: Ma
k
e
d
o
cumentation for ca
l
lbacks mo
r
e uniform
.
commit
|
commitdiff
|
tree
2019-07-22
Ri
c
har
d
W
.
M
.
Jones
gene
r
at
o
r: Mo
d
u
larize
.
commit
|
commitdiff
|
tree
2019-07-22
Richar
d
W
.
M
.
Jones
docs: Fix small docum
e
nta
t
ion typ
o
s
.
commit
|
commitdiff
|
tree
2019-07-18
Richard W
.
M
.
Jones
lib: Add clearer comments about wh
a
t t
h
e c
m
ds_*
lists do
.
commit
|
commitdiff
|
tree
2019-07-18
R
i
c
hard W
.
M
.
J
o
nes
l
i
b
:
R
ename s
t
ruct command_in_fligh
t
to comma
n
d
.
commit
|
commitdiff
|
tree
2019-07-17
R
i
c
h
ar
d
W
.
M
.
Jones
e
x
amples: I
n
clude an example of integrating
with the
.
.
.
commit
|
commitdiff
|
tree
2019-07-17
Ri
c
h
ard W
.
M
.
Jones
Version 0
.
1
.
8
.
commit
|
commitdiff
|
tree
2019-07-17
Eric
Bl
a
k
e
generator: Prefer closure op
a
que af
t
e
r function pointer
.
.
.
commit
|
commitdiff
|
tree
2019-07-16
Ri
c
har
d
W
.
M
.
Jones
Version 0
.
1
.
7
.
commit
|
commitdiff
|
tree
2019-07-16
Richard W
.
M
.
Jones
ocaml: Add t
e
sts
.
commit
|
commitdiff
|
tree
2019-07-16
Rich
a
rd W
.
M
.
Jo
n
e
s
oc
a
ml
:
Fix gene
r
a
t
ion of A
r
r
a
y
AndLen (Uint32)
.
commit
|
commitdiff
|
tree
2019-07-16
Richard W
.
M
.
Jones
ocaml: Fix
r
aising Error
exception
.
commit
|
commitdiff
|
tree
2019-07-16
Richar
d
W
.
M
.
Jones
ocaml
:
Ext
r
ac
t
Mutable when ret
u
rning
f
ro
m
c
all
b
ack
.
commit
|
commitdiff
|
tree
2019-07-16
Richard W
.
M
.
J
o
nes
ocaml:
Add \n after p
r
i
nting unca
u
g
h
t
OC
a
ml
e
xception
.
commit
|
commitdiff
|
tree
2019-07-16
Richard W
.
M
.
J
ones
o
caml: Fix pa
r
s
ing of
?
flag
s
p
a
ramet
e
r
.
commit
|
commitdiff
|
tree
2019-07-16
Richard W
.
M
.
J
ones
ocam
l
: Fix OCam
l
call
b
acks
.
commit
|
commitdiff
|
tree
2019-07-16
R
ichard W
.
M
.
J
o
n
e
s
ocaml: Use
new macro Val_emptylis
t
i
nstea
d
o
f Val_int
.
.
.
commit
|
commitdiff
|
tree
2019-07-16
Richard
W
.
M
.
Jon
e
s
generator: Swap parameters
of nbd
_
add_close_
c
a
l
lback
.
commit
|
commitdiff
|
tree
2019-07-16
Ric
h
ard W
.
M
.
Jone
s
gene
r
ator: Defi
n
e new Closure
type ins
t
ead of callbacks
.
commit
|
commitdiff
|
tree
2019-07-04
Richard W
.
M
.
Jones
fr
e
eb
s
d: Inclu
d
e <c
o
nfig
.
h> con
s
istent
l
y
i
n
all C source
.
.
.
commit
|
commitdiff
|
tree
2019-07-03
Richard W
.
M
.
Jone
s
lib: Use byte-swapping
.
h
from nbdkit
.
commit
|
commitdiff
|
tree
2019-07-03
Richar
d
W
.
M
.
J
o
ne
s
freebsd: Ignor
e
missing MSG_MORE
on older versions
.
.
.
commit
|
commitdiff
|
tree
2019-07-03
Richard W
.
M
.
Jones
Ve
r
sion 0
.
1
.
6
.
commit
|
commitdiff
|
tree
2019-06-28
Richard W
.
M
.
Jo
n
es
py
t
hon: Raise
a cu
s
tom
e
xception contai
n
i
ng error string
.
.
.
commit
|
commitdiff
|
tree
2019-06-28
Ri
c
h
a
rd W
.
M
.
Jones
p
ython: Remove useless modulei
n
i
t functio
n
.
commit
|
commitdiff
|
tree
2019-06-28
Rich
a
rd W
.
M
.
J
o
ne
s
python, ocaml: Add metadat
a
_n
a
m
e
spaces to Python
a
nd
.
.
.
commit
|
commitdiff
|
tree
2019-06-27
Richard W
.
M
.
Jones
V
ersi
o
n 0
.
1
.
5
.
commit
|
commitdiff
|
tree
2019-06-27
Richard W
.
M
.
Jones
buil
d
: Distribute
in
t
erop/structure
d
-
r
e
ad
.
s
h
.
commit
|
commitdiff
|
tree
2019-06-27
Mar
t
in Kletzander
g
e
n
erator: Add support
for na
m
e
space constants
commit
|
commitdiff
|
tree
2019-06-12
Martin Kletzander
Fix
b
uilding
with
f
or ocaml < 4
.
0
6
.
0
commit
|
commitdiff
|
tree
2019-06-11
Rich
a
r
d
W
.
M
.
J
o
nes
sh: A
d
d exa
m
p
l
es
s
ection to the
m
anua
l
.
commit
|
commitdiff
|
tree
2019-06-11
Richard
W
.
M
.
J
o
n
e
s
sh:
Add ‘nbdsh -c -’
t
o read from stdin
.
commit
|
commitdiff
|
tree
2019-06-10
Richa
r
d
W
.
M
.
Jones
st
a
tes
:
Use MSG_MORE to coa
l
e
sc
e
messages into sin
g
le
.
.
.
commit
|
commitdiff
|
tree
2019-06-10
Ric
h
ard W
.
M
.
J
o
nes
states: Add ha
n
dle h->wflags
f
i
e
ld
.
commit
|
commitdiff
|
tree
2019-06-10
Rich
a
rd W
.
M
.
Jones
lib: socket: Add
.
send flags param
e
ter
.
commit
|
commitdiff
|
tree
2019-06-10
Richard W
.
M
.
Jones
lib: Atomically update h->state when leaving th
e
locked
.
.
.
commit
|
commitdiff
|
tree
2019-06-09
Rich
a
rd W
.
M
.
Jones
sh: Add -c/-comman
d
and
--connect parame
t
ers
.
commit
|
commitdiff
|
tree
2019-06-09
Rich
a
r
d W
.
M
.
Jones
sh:
Move nbdsh cod
e
to a separa
t
e Pyt
h
on module
.
commit
|
commitdiff
|
tree
2019-06-09
Richa
r
d W
.
M
.
J
ones
V
e
rsion 0
.
1
.
4
.
commit
|
commitdiff
|
tree
2019-06-09
Ri
c
hard
W
.
M
.
Jones
pytho
n
:
F
i
x test
f
or Python
.
commit
|
commitdiff
|
tree
2019-06-09
Richard W
.
M
.
Jones
Version 0
.
1
.
3
.
commit
|
commitdiff
|
tree
2019-06-09
Richard W
.
M
.
J
ones
py
t
hon: PYTHON_LIB
S
is
not s
e
t in Pyth
o
n
3
.
8 (RHBZ
.
.
.
commit
|
commitdiff
|
tree
2019-06-05
Richard W
.
M
.
Jones
l
i
b: Add set_state / get_state
m
a
c
r
os
.
commit
|
commitdiff
|
tree
2019-06-05
Richard W
.
M
.
Jones
lib: Split nb
d
_aio
_
is_* functions into
i
nternal
.
commit
|
commitdiff
|
tree
2019-06-05
Richa
r
d W
.
M
.
Jones
lib: Move nbd_aio_is_*
function
impls to separate sourc
e
.
.
.
commit
|
commitdiff
|
tree
2019-06-04
Ri
c
hard W
.
M
.
Jones
g
enerator: Ca
l
lback
returns int inste
a
d of void
.
commit
|
commitdiff
|
tree
2019-06-04
Richard W
.
M
.
Jone
s
examples, tests: Remove want
_
to_send / ready lo
g
ic
.
.
.
commit
|
commitdiff
|
tree
2019-06-04
Ri
c
hard
W
.
M
.
Jones
generator: Implement Byt
e
sIn
p
arameter
s
to callback
.
.
.
commit
|
commitdiff
|
tree
2019-06-04
Rich
a
r
d
W
.
M
.
Jo
n
es
tests/
a
io-parallel
.
c
:
C
heck export size vs
buf
f
er size
.
commit
|
commitdiff
|
tree
2019-06-04
Richard W
.
M
.
Jones
api: Make nbd_ai
o
_get_direction lockless
.
commit
|
commitdiff
|
tree
2019-06-03
Richard W
.
M
.
Jones
ex
a
mples/threaded-
r
eads-
a
nd-w
r
it
e
s
.
c: Make read and
.
.
.
commit
|
commitdiff
|
tree
2019-06-03
Richard W
.
M
.
Jones
examples
/
threaded-read
s
-and-writes
.
c
: Remove i
n
correct
.
.
.
commit
|
commitdiff
|
tree
2019-06-03
Rich
a
r
d
W
.
M
.
J
o
n
e
s
examples/threaded-reads-and-writes
.
c: Ignor
e
multi
.
.
.
commit
|
commitdiff
|
tree
2019-06-03
Richard W
.
M
.
J
o
nes
lib: Pass handle to socket r
e
cv and se
n
d calls
.
commit
|
commitdiff
|
tree
2019-06-03
Rich
a
rd W
.
M
.
Jones
docs: Docume
n
t multiple
in-flight requests
.
commit
|
commitdiff
|
tree
2019-06-03
Ric
h
ard W
.
M
.
Jones
docs
:
D
o
c
ument
N
BD URI support
.
commit
|
commitdiff
|
tree
2019-06-03
Richard
W
.
M
.
Jones
ap
i
: nbd
_
get_ver
s
ion, nbd_
s
uppo
r
t
s_uri a
n
d
n
bd_get
_
pac
k
age_name
.
commit
|
commitdiff
|
tree
2019-06-03
Richar
d
W
.
M
.
Jone
s
generator:
python: Ass
e
rt f
a
il
i
nstea
d
of generati
n
g
.
.
.
commit
|
commitdiff
|
tree
next