repo.or.cz
/
nbdkit
/
ericb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
retry: Check size before transactions
2019-10-04
E
r
i
c Bl
a
ke
r
etry: Check siz
e
b
e
f
ore trans
a
ctio
n
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-04
Eric Bl
a
ke
x
z:
A
void
reading
beyo
n
d EOF
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-03
Eri
c
Blake
server: Allow p
l
ugin_clos
e
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-03
Eric Blake
s
e
rver: Better documentation of
.
o
pen
o
rd
e
ring
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-03
Eric Blake
s
e
rver: Close
b
a
c
kend
s
if a filter's
.
open fails
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-03
Eric Blake
t
ests: Test retry
w
it
h
different fua/fast-zero flags
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-03
Eric Blake
r
e
try: Handle c
a
n
_
fua and can_fas
t
_zero
c
h
ange
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric
B
lake
maint
:
Use
shel
l
-quoting w
h
en wrapper is
v
er
b
ose
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric
Blake
common: Split utils
.
c into smal
l
er fi
l
es
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
E
ric Blake
t
ests: Whe
n
us
i
ng nbdsh -u, ensure it ha
s
uri support
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
E
ric Blake
t
e
sts: Test
retry aft
e
r parti
a
l extents
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric Blake
retry:
Avoid assertion d
u
ring retried
e
xte
n
ts
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric Blake
tes
t
s: Test for retry-re
a
don
l
y behavior
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Er
i
c Blake
retry: Check next
_
ops->ca
n
_FOO on
retry
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric Blake
tests
:
Enhance capt
i
ve test
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-10-02
Eric Blake
ser
v
er: Propagate unexpected
n
bdkit failure with --run
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Eric Bl
a
ke
server: Be
t
te
r
newstyle
.
o
p
en failur
e
handling
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Eric Blake
server: Fix OPT_GO on
d
i
fferent expo
r
t t
h
an SET_META_CONT
E
XT
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Eric
B
l
a
ke
server: Allow
longer NBD_OPT
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Er
i
c
B
lake
s
e
rv
e
r: Improve check
o
f stri
n
g vali
d
i
t
y
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Eric Bl
a
ke
s
erver: Switch t
o
fixed-le
n
gth conn->exportnam
e
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Er
i
c Blake
server: Expose -e in
$
ex
p
ortname during --ru
n
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
E
r
ic Blake
server
:
Reject -e with
t
oo long of a name
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-30
Eric
B
lake
retry: Also retry f
l
u
s
h
c
omma
n
ds
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-28
Eri
c
Blake
t
e
st
s
: Retry tests use bashisms, so set #!
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-25
Eric Bla
k
e
common/pr
o
to
c
ol: Decla
r
e additional consta
n
ts
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-25
Eric Blake
common/protocol: Swi
t
c
h nbdmagic
t
o uint64
_
t
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-25
Er
i
c Blak
e
common/pr
o
to
c
ol: Merge duplicate
t
y
p
e
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-19
Eric Bl
a
ke
s
erv
e
r: Fix
b
ack-to-
b
ack
SET_META_CON
T
EXT
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-19
E
ric Blake
s
e
r
v
er
:
Fix
regr
e
ssion for NBD
_
O
P
T_IN
F
O before NBD_OPT
_
GO
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-18
Eric Blake
s
erver:
S
a
n
e
r filter
.
c
lose calls
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-18
E
r
i
c
Blake
s
e
r
ver:
C
h
a
n
ge un
r
e
a
chable oldstyl
e
error to ass
e
rt
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-18
Eric Blake
ser
v
er:
F
i
x
debug mess
a
ge
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-18
E
r
ic Blake
tests: Fix
t
est-
c
o
w
-
n
ull when port 10809
i
s
occupied
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-17
Eric Bl
a
ke
tests: Test s
a
me s
e
t of reflected names
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-15
E
ric Blake
t
ests: Be more ro
b
ust t
o
arbitrary ex
p
ort names
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-12
E
ric
Blake
TO
D
O: Mention idea a
b
o
u
t
skip
p
i
n
g h
a
n
dsh
a
ke phase
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-12
Eric
Blake
serve
r
: Add
-
-mask-han
d
shake op
t
io
n
for int
e
gration
.
.
.
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-12
Eric Blake
se
r
ver: Skip option haggli
n
g from c
l
i
e
n
t
lacking fixed
.
.
.
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-06
Eric Bl
a
k
e
plu
g
i
n
s
: Add
.
can
_
fast_zero ho
o
k
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-06
Eric Blake
filters:
Add
.
can_fast_zero hoo
k
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-06
Eric Bla
k
e
server: Add internal support
f
or NBDK
I
T
_
FLAG_FAST_ZERO
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-05
E
ric Blak
e
sh: Update example
to show par
s
ing
o
f flag
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-05
Eric Blake
TODO: M
a
r
k
comple
t
ed item
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
E
ric
Blake
serve
r
:
Enfo
r
ce valid
ranges to
e
ach backend
call
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
Eric
B
lake
server: Cache
r
e
m
aining per-c
o
nnection c
a
n_FOO flags
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
Eric
B
lake
fil
t
ers: Cache
a
nd change semantics of can_
z
ero
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
Eric Blake
server: Cache per-connection can_cache
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
Eric B
l
a
k
e
server: Ca
c
he per-c
o
nnection
ca
n
_extents
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-03
Eric Blake
filters: Fix
.
tri
m
with FUA
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
E
ric Bla
k
e
main
t
: Enable -W
s
hadow durin
g
compilation
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eri
c
B
lake
tests:
A
void -W
s
ha
d
ow warning
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
E
r
ic B
l
ake
ca
c
h
e: Avoid -Wshad
o
w war
n
ings
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Er
i
c Blake
tc
l
: Avoid
-
Wshadow
warn
i
ngs
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eric Blake
strea
m
ing: Av
o
id
-
Wshadow war
n
ings
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eric Bla
k
e
ssh: Av
o
id
-
Ws
h
a
dow warnings
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eric Bla
k
e
perl: Igno
r
e -Wshado
w
warnin
g
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
E
r
ic Blake
ocaml:
A
v
oid -
W
s
hadow w
a
rnin
g
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eric
B
lake
g
u
estfs: Avoid
-
Wshadow wa
r
nings
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-02
Eric Bla
k
e
s
e
rver:
Avoid -Wshadow
w
a
rnings
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-01
Eric Blake
c
ac
h
e
:
Use
c
o
r
r
ect type for reclaim_blk
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-01
Eric Blak
e
c
ache
:
Drop use
l
ess redecl
a
rations
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-09-01
Eric Blake
partitioning: Use correct ty
p
e when checking f
o
r
n
on
.
.
.
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-31
E
ric Blake
f
ilters: Pass reado
n
ly th
r
ough to
.
p
repa
r
e
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-31
Eric Blake
s
e
r
ver: Re
m
emb
e
r
.
open(
r
eado
n
l
y) st
a
tu
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-31
Eric B
l
ake
server: Cache per-conn
e
cti
o
n can_write
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
serv
e
r: Rely
o
n
nbdki
t
_a
d
d_extent errno
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eri
c
Blake
server
:
A
djust validate_reques
t
() to
c
h
eck efla
g
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Bl
a
ke
filters: Stronger version
m
atch requireme
n
t
s
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
in
c
l
u
d
e: Expos
e
nbdkit version
i
n
for
m
ation to pub
l
ic
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
s
e
rver: Ca
c
he
p
e
r-
c
onnection size
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
ser
v
er: Rework sto
r
a
ge
of per-back
e
nd hand
l
e
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Er
i
c Blake
s
e
rver: Create new
backend
_
*
fun
c
tions
f
or centr
a
l
.
.
.
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
s
e
r
ve
r
: Consolida
t
e com
m
on b
a
ckend tas
k
s into new ba
c
kend
.
c
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric Blake
server: Fewer dereferences
i
n
filter
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-30
Eric
B
lake
docs: Typ
o
fix reg
a
r
ding --no-sr option
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-28
E
r
ic Blake
o
ff
s
e
t: Better handling of par
a
me
t
ers
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-28
Eri
c
Bl
a
ke
offset, partition
:
Fix
.
e
xt
e
n
t
s with non-zero offset
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-27
Eric
Bla
k
e
s
erve
r
: Enfo
r
ce
s
ane stdin/ou
t
/e
r
r
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-26
Eric Blake
f
i
lters:
Fix return
of pread
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-26
Eric Blake
f
i
lters: Bump API version
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-23
Eri
c
Blake
tests: Increa
s
e
timeouts on t
e
st-sh
u
tdown
.
sh
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-22
Eric Blake
main
t
: Ignor
e
all
.
so fi
l
es
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-22
Eric Blake
sh: Fix
.
z
e
ro falling bac
k
to
.
pwrite
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-20
Eric Blake
main
:
Add
op
t
i
o
n
to disab
l
e SR adverti
s
e
ment
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-20
Eric Blake
bu
i
ld: Bui
l
d
w
rap
p
e
r
before te
s
ts
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-19
Eric Blake
tests: Ease de
b
ug
of failed te
s
t-
e
flags
.
sh
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-19
Eric
Blake
t
e
sts: Add
m
ore
cases to
t
est-
e
flags
.
sh
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-17
Eric Blake
sh:
Allo
w
FUA emulation
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-17
E
ri
c
Blake
sh: Map more errno values
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-17
Eric
Blake
sh: Log invoked s
u
bc
o
mmands
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eric
Bla
k
e
rust: Add suppo
r
t
for dynamic
.
thr
e
ad_model
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eric Blake
rust: Implement can_cache
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eric Blake
o
c
aml: Map m
o
re errno values
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eric Bl
a
k
e
ocaml: Add su
p
port for dynamic
.
th
r
ead_
m
odel
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eri
c
Blake
wr
a
pper: Set LD_LIBRARY_PA
T
H
f
o
r oca
m
l plug
i
ns
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-16
Eric Blake
server: Log thread model at sta
r
t
u
p
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-15
Eri
c
Blake
nbd: A
n
other
libn
b
d
version bump
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-15
E
ric Blake
data, memory:
O
ptimize
.
z
e
ro
>
PAGE_SIZE
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
2019-08-14
E
r
i
c Blake
in
c
lude
:
Undo
a
ccidental
commit
Signed-off-by:
Eric Blake
<eblake@redhat.com>
commit
|
commitdiff
|
tree
next