1
The following changes since commit b05631954d6dfe93340d516660397e2c1a2a5dd6:
1
The following changes since commit 3521ade3510eb5cefb2e27a101667f25dad89935:
2
2
3
Merge remote-tracking branch 'remotes/rth/tags/pull-hppa-20180131' into staging (2018-01-31 15:50:29 +0000)
3
Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-07-29' into staging (2021-07-29 13:17:20 +0100)
4
4
5
are available in the git repository at:
5
are available in the Git repository at:
6
6
7
git://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request
7
https://gitlab.com/stefanha/qemu.git tags/block-pull-request
8
8
9
for you to fetch changes up to 45a79646ea746fa3f32083d0aa70512aae29f6b3:
9
for you to fetch changes up to cc8eecd7f105a1dff5876adeb238a14696061a4a:
10
10
11
iotests: Make 200 run on tmpfs (2018-01-31 22:37:00 -0500)
11
MAINTAINERS: Added myself as a reviewer for the NVMe Block Driver (2021-07-29 17:17:34 +0100)
12
12
13
----------------------------------------------------------------
13
----------------------------------------------------------------
14
Block patches
14
Pull request
15
16
The main fix here is for io_uring. Spurious -EAGAIN errors can happen and the
17
request needs to be resubmitted.
18
19
The MAINTAINERS changes carry no risk and we might as well include them in QEMU
20
6.1.
21
15
----------------------------------------------------------------
22
----------------------------------------------------------------
16
23
17
Max Reitz (1):
24
Fabian Ebner (1):
18
iotests: Make 200 run on tmpfs
25
block/io_uring: resubmit when result is -EAGAIN
19
26
20
Murilo Opsfelder Araujo (1):
27
Philippe Mathieu-Daudé (1):
21
block/ssh: fix possible segmentation fault when .desc is not
28
MAINTAINERS: Added myself as a reviewer for the NVMe Block Driver
22
null-terminated
23
29
24
block/ssh.c | 1 +
30
Stefano Garzarella (1):
25
tests/qemu-iotests/200 | 2 +-
31
MAINTAINERS: add Stefano Garzarella as io_uring reviewer
26
2 files changed, 2 insertions(+), 1 deletion(-)
32
33
MAINTAINERS | 2 ++
34
block/io_uring.c | 16 +++++++++++++++-
35
2 files changed, 17 insertions(+), 1 deletion(-)
27
36
28
--
37
--
29
2.9.5
38
2.31.1
30
39
31
diff view generated by jsdifflib
New patch
1
From: Stefano Garzarella <sgarzare@redhat.com>
1
2
3
I've been working with io_uring for a while so I'd like to help
4
with reviews.
5
6
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
7
Message-Id: <20210728131515.131045-1-sgarzare@redhat.com>
8
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
9
---
10
MAINTAINERS | 1 +
11
1 file changed, 1 insertion(+)
12
13
diff --git a/MAINTAINERS b/MAINTAINERS
14
index XXXXXXX..XXXXXXX 100644
15
--- a/MAINTAINERS
16
+++ b/MAINTAINERS
17
@@ -XXX,XX +XXX,XX @@ Linux io_uring
18
M: Aarushi Mehta <mehta.aaru20@gmail.com>
19
M: Julia Suvorova <jusual@redhat.com>
20
M: Stefan Hajnoczi <stefanha@redhat.com>
21
+R: Stefano Garzarella <sgarzare@redhat.com>
22
L: qemu-block@nongnu.org
23
S: Maintained
24
F: block/io_uring.c
25
--
26
2.31.1
27
diff view generated by jsdifflib
1
From: Max Reitz <mreitz@redhat.com>
1
From: Fabian Ebner <f.ebner@proxmox.com>
2
2
3
200 currently fails on tmpfs because it sets cache=none. However,
3
Linux SCSI can throw spurious -EAGAIN in some corner cases in its
4
without that (and aio=native), the test still works now and it fails
4
completion path, which will end up being the result in the completed
5
before Jeff's series (on fc7dbc119e0852a70dc9fa68bb41a318e49e4cd6). So
5
io_uring request.
6
we can probably remove the aio=native safely, and replace cache=none by
7
cache=$CACHEMODE.
8
6
9
Signed-off-by: Max Reitz <mreitz@redhat.com>
7
Resubmitting such requests should allow block jobs to complete, even
10
Reviewed-by: Jeff Cody <jcody@redhat.com>
8
if such spurious errors are encountered.
11
Message-id: 20180117135015.15051-1-mreitz@redhat.com
9
12
Signed-off-by: Jeff Cody <jcody@redhat.com>
10
Co-authored-by: Stefan Hajnoczi <stefanha@gmail.com>
11
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
12
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
13
Message-id: 20210729091029.65369-1-f.ebner@proxmox.com
14
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
13
---
15
---
14
tests/qemu-iotests/200 | 2 +-
16
block/io_uring.c | 16 +++++++++++++++-
15
1 file changed, 1 insertion(+), 1 deletion(-)
17
1 file changed, 15 insertions(+), 1 deletion(-)
16
18
17
diff --git a/tests/qemu-iotests/200 b/tests/qemu-iotests/200
19
diff --git a/block/io_uring.c b/block/io_uring.c
18
index XXXXXXX..XXXXXXX 100755
20
index XXXXXXX..XXXXXXX 100644
19
--- a/tests/qemu-iotests/200
21
--- a/block/io_uring.c
20
+++ b/tests/qemu-iotests/200
22
+++ b/block/io_uring.c
21
@@ -XXX,XX +XXX,XX @@ qemu_comm_method="qmp"
23
@@ -XXX,XX +XXX,XX @@ static void luring_process_completions(LuringState *s)
22
_launch_qemu -device pci-bridge,id=bridge1,chassis_nr=1,bus=pci.0 \
24
total_bytes = ret + luringcb->total_read;
23
-object iothread,id=iothread0 \
25
24
-device virtio-scsi-pci,bus=bridge1,addr=0x1f,id=scsi0,iothread=iothread0 \
26
if (ret < 0) {
25
- -drive file="${TEST_IMG}",media=disk,if=none,cache=none,id=drive_sysdisk,aio=native,format=$IMGFMT \
27
- if (ret == -EINTR) {
26
+ -drive file="${TEST_IMG}",media=disk,if=none,cache=$CACHEMODE,id=drive_sysdisk,format=$IMGFMT \
28
+ /*
27
-device scsi-hd,drive=drive_sysdisk,bus=scsi0.0,id=sysdisk,bootindex=0
29
+ * Only writev/readv/fsync requests on regular files or host block
28
h1=$QEMU_HANDLE
30
+ * devices are submitted. Therefore -EAGAIN is not expected but it's
29
31
+ * known to happen sometimes with Linux SCSI. Submit again and hope
32
+ * the request completes successfully.
33
+ *
34
+ * For more information, see:
35
+ * https://lore.kernel.org/io-uring/20210727165811.284510-3-axboe@kernel.dk/T/#u
36
+ *
37
+ * If the code is changed to submit other types of requests in the
38
+ * future, then this workaround may need to be extended to deal with
39
+ * genuine -EAGAIN results that should not be resubmitted
40
+ * immediately.
41
+ */
42
+ if (ret == -EINTR || ret == -EAGAIN) {
43
luring_resubmit(s, luringcb);
44
continue;
45
}
30
--
46
--
31
2.9.5
47
2.31.1
32
48
33
diff view generated by jsdifflib
1
From: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>
1
From: Philippe Mathieu-Daudé <philmd@redhat.com>
2
2
3
This patch prevents a possible segmentation fault when .desc members are checked
3
I'm interested in following the activity around the NVMe bdrv.
4
against NULL.
5
4
6
The ssh_runtime_opts was added by commit
5
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
7
8a6a80896d6af03b8ee0c17cdf37219eca2588a7 ("block/ssh: Use QemuOpts for runtime
6
Message-id: 20210728183340.2018313-1-philmd@redhat.com
8
options").
7
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
9
10
This fix was inspired by
11
http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg00883.html.
12
13
Fixes: 8a6a80896d6af03b8ee0c17cdf37219eca2588a7 ("block/ssh: Use QemuOpts for runtime options")
14
Cc: Max Reitz <mreitz@redhat.com>
15
Cc: Eric Blake <eblake@redhat.com>
16
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>
17
Reviewed-by: Eric Blake <eblake@redhat.com>
18
Reviewed-by: Jeff Cody <jcody@redhat.com>
19
Signed-off-by: Jeff Cody <jcody@redhat.com>
20
---
8
---
21
block/ssh.c | 1 +
9
MAINTAINERS | 1 +
22
1 file changed, 1 insertion(+)
10
1 file changed, 1 insertion(+)
23
11
24
diff --git a/block/ssh.c b/block/ssh.c
12
diff --git a/MAINTAINERS b/MAINTAINERS
25
index XXXXXXX..XXXXXXX 100644
13
index XXXXXXX..XXXXXXX 100644
26
--- a/block/ssh.c
14
--- a/MAINTAINERS
27
+++ b/block/ssh.c
15
+++ b/MAINTAINERS
28
@@ -XXX,XX +XXX,XX @@ static QemuOptsList ssh_runtime_opts = {
16
@@ -XXX,XX +XXX,XX @@ F: block/null.c
29
.type = QEMU_OPT_STRING,
17
NVMe Block Driver
30
.help = "Defines how and what to check the host key against",
18
M: Stefan Hajnoczi <stefanha@redhat.com>
31
},
19
R: Fam Zheng <fam@euphon.net>
32
+ { /* end of list */ }
20
+R: Philippe Mathieu-Daudé <philmd@redhat.com>
33
},
21
L: qemu-block@nongnu.org
34
};
22
S: Supported
35
23
F: block/nvme*
36
--
24
--
37
2.9.5
25
2.31.1
38
26
39
diff view generated by jsdifflib