File: libnbd-release-notes-1.14.pod

package info (click to toggle)
libnbd 1.24.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,956 kB
  • sloc: ansic: 55,063; ml: 12,326; sh: 8,817; python: 4,757; makefile: 3,036; perl: 165; cpp: 24
file content (115 lines) | stat: -rw-r--r-- 3,017 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
=head1 NAME

libnbd-release-notes-1.14 - release notes for libnbd 1.14

=head1 DESCRIPTION

These are the release notes for libnbd stable release 1.14.
This describes the major changes since 1.12.

libnbd 1.14.0 was released on B<1 August 2022>.

=head2 Security

No security issues were found in this release.

If you find a security issue, please read F<SECURITY> in the source
(online here:
L<https://gitlab.com/nbdkit/libnbd/blob/master/SECURITY>).  To
find out about previous security issues in libnbd, see
L<libnbd-security(3)>.

=head2 New APIs

No new APIs were added in this release.

=head2 Enhancements to existing APIs

Optimizations to L<nbd_pread_structured(3)> (Eric Blake).

Many performance enhancements in the Python bindings: C<nbd.pread> now
avoids an extra memory allocation and copy.  Buffers can now be passed
to C<nbd.Buffer.from_bytearray>.  New methods
C<nbd.Buffer.{to,from}_buffer> allow control over copying and sharing
C<nbd.Buffer>.  Any buffer-like object can be used in
C<nbd.aio_{pread,pwrite}>.  C<len(nbd.Buffer(n))> now works.  Improve
error messages when the wrong types are passed to several APIs.  Fix
usage of C<PyGILState>.  (Eric Blake)

Golang C<AioBuffer> now calls panic on invalid usage (Nir Soffer).

In golang tests, use C<GOTRACEBACK=crash> so we get full core dumps on
failures.

kTLS should now work (transparently) when available in the kernel and
GnuTLS.  Use of kTLS will be indicated in debug output.  (Daiki Ueno,
František Krenželok)

=head2 Tools

New L<nbddump(1)> tool which can efficiently hexdump the contents of
an NBD server.

L<nbdcopy(1)> now obeys the NBD server minimum/preferred block size
when copying, which should make it more efficient and avoids issues
with some qemu-nbd configurations where the minimum block size must be
obeyed for correct operation.

=head2 Tests

New tests for C<nbd+vsock://> URI support.

=head2 Other improvements and bug fixes

Fixed rare TLS deadlock when reading from slow servers, and support
for clean shutdown when connecting to qemu-nbd over TLS (thanks
Michael Ablassmeier).

The library now uses the GnuTLS flag C<GNUTLS_NO_SIGNAL> (if
available) which ensures that TLS connections should not cause the
main program to exit with C<SIGPIPE> in certain cases of server
failure.  (Libnbd has long used C<MSG_NOSIGNAL> on non-TLS connections
which has a similar effect.)

Various enhancements to fuzzing were made, including support for AFL++
clang-LTO mode, ASAN, allowing seed test cases to be captured, and
extended testing of APIs.

Tests were fixed so they should pass on RHEL 7 and FreeBSD.

=head2 Documentation

No changes in this release.

=head2 Build

C<ARRAY_SIZE> macro added to simplify static array sizing (thanks
Laszlo Ersek).

Various errors found by Coverity were fixed.

=head1 SEE ALSO

L<libnbd(3)>.

=head1 AUTHORS

=begin comment

git shortlog -s v1.12.0..

=end comment

=over 4

=item Eric Blake

=item Nir Soffer

=item Richard W.M. Jones

=back

=head1 COPYRIGHT

Copyright Red Hat