1nbdkit-release-notes-1.14(1) NBDKIT nbdkit-release-notes-1.14(1)
2
3
4
6 nbdkit-release-notes-1.14 - release notes for nbdkit 1.14
7
9 These are the release notes for nbdkit stable release 1.14. This
10 describes the major changes since 1.12.
11
12 nbdkit 1.14.0 was released on 28th August 2019.
13
14 New features
15 Server performance improvements: Nagle’s algorithm is disabled; instead
16 "MSG_MORE" is used to control when outgoing packets are sent. Ramdisk
17 plugins now support more efficient zeroing. (Eric Blake).
18
19 Plugins can now select their thread model at run time. Thread model
20 selection is not finalized until after the config stage (Eric Blake).
21
22 The server supports "NBD_CMD_CACHE" for prefetching. Plugins and
23 filters have been updated to implement this where it makes sense (Eric
24 Blake).
25
26 Low level pthread lock failures now call abort(3). This should never
27 happen in real situations (Eric Blake).
28
29 The server will not advertize multi-conn support if the internal thread
30 model is serialized, avoiding a possible deadlock in some clients (Eric
31 Blake).
32
33 New server option --no-sr can be used to disable structured replies
34 (Eric Blake).
35
36 The server will now refuse to start if stdin/stdout/stderr are closed,
37 to avoid potential issues with file descriptor handling in plugins
38 (Eric Blake).
39
40 $uri can be used to specify an NBD URI in --run parameters (Eric
41 Blake).
42
43 New nbdkit-stats-filter(1) displays elapsed statistics about NBD
44 operations, such as the number of bytes read and written.
45
46 New nbdkit-nocache-filter(1) which disables cache requests, used to
47 determine how effective they are (Eric Blake).
48
49 New nbdkit-noparallel-filter(1) which can be used to override the
50 plugin’s own choice of thread model. Used to determine how the thread
51 model affects performance, or to serialize plugins if required (Eric
52 Blake).
53
54 New nbdkit-cacheextents-filter(1) to cache extents requests, especially
55 useful with VDDK which has a slow implementation of extents (Martin
56 Kletzander).
57
58 In nbdkit-full-plugin(1), nbdkit-memory-plugin(1),
59 nbdkit-null-plugin(1), nbdkit-pattern-plugin(1) and
60 nbdkit-random-plugin(1), the "size=" prefix can be omitted, ie:
61 "nbdkit memory 1G" (instead of "size=1G").
62
63 nbdkit-nbd-plugin(1) has multiple enhancements (all added by Eric
64 Blake):
65
66 · It may be built using libnbd instead of constructing raw NBD
67 packets.
68
69 · "NBD_OPT_GO" is supported.
70
71 · Add structured reads.
72
73 · Implement "NBD_CMD_BLOCK_STATUS".
74
75 · Supports TCP sockets.
76
77 · Forwards "NBD_CMD_CACHE".
78
79 · Retry connections.
80
81 · Shared connections.
82
83 · Magic "uri" parameter.
84
85 · TLS support.
86
87 nbdkit-vddk-plugin(1) now reports hole extents correctly when using the
88 "single-link" flag (Martin Kletzander).
89
90 nbdkit-cache-filter(1) and nbdkit-cow-filter(1) now avoid copying data
91 through a bounce buffer when it is already sufficiently aligned (Eric
92 Blake).
93
94 Filters (such as nbdkit-delay-filter(1) and nbdkit-rate-filter(1))
95 which sleep no longer cause long delays when the server is shut down
96 (Eric Blake).
97
98 Multiple fixes to nbdkit-rust-plugin(1) (Martin Kletzander).
99
100 Multiple enhancements and clean ups to the test suite which should make
101 tests better and more reliable.
102
103 OCaml plugins can now use "parse_size", "parse_bool", "read_password"
104 calls, and there is also a new example plugin.
105
106 On platforms which lack atomic "O_CLOEXEC" support the most serialized
107 thread model is always selected to avoid leaking file descriptors (Eric
108 Blake).
109
111 nbdkit(1),
112 https://www.redhat.com/archives/libguestfs/2019-August/msg00375.html.
113
115 Eric Blake
116
117 Richard W.M. Jones
118
120 Copyright (C) 2019 Red Hat Inc.
121
123 Redistribution and use in source and binary forms, with or without
124 modification, are permitted provided that the following conditions are
125 met:
126
127 · Redistributions of source code must retain the above copyright
128 notice, this list of conditions and the following disclaimer.
129
130 · Redistributions in binary form must reproduce the above copyright
131 notice, this list of conditions and the following disclaimer in the
132 documentation and/or other materials provided with the
133 distribution.
134
135 · Neither the name of Red Hat nor the names of its contributors may
136 be used to endorse or promote products derived from this software
137 without specific prior written permission.
138
139 THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
140 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
141 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
142 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
143 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
144 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
145 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
146 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
147 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
148 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
149 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
150
151
152
153nbdkit-1.24.2 2021-03-02 nbdkit-release-notes-1.14(1)