All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.2 0/2] blk-cbt and dm-ploop: fix a host WARN and a NULL put_page
@ 2026-11-27 12:31 Vasileios Almpanis
  2026-11-27 12:31 ` [Devel] [PATCH hci-8.2 1/2] block/blk-cbt: don't WARN on an ABI version mismatch Vasileios Almpanis
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vasileios Almpanis @ 2026-11-27 12:31 UTC (permalink / raw)
  To: Konstantin Khorenko, Denis V. Lunev, Andrey Zhadchenko
  Cc: devel, Artem Bulgakov

Two small fixes from Artem's review.

The first one stops a container from triggering a WARN in
blk_cbt_ioctl() with a wrong ABI version. With panic_on_warn=1 this
panics the host.

The second one fixes an oops in ploop_free_piwb() when the atomic bat
page allocation fails in ploop_prepare_bat_update().

I reproduced both on 8.1 with the stock kernel, the second one with a
kprobe that fails the bat page allocation. With both patches applied,
the first one only prints a warning and the second one fails the write
with an I/O error instead of an oops.

Signed-off-by: Vasileios Almpanis <vasileios.almpanis@virtuozzo.com>
---
Vasileios Almpanis (2):
      block/blk-cbt: don't WARN on an ABI version mismatch
      dm-ploop: don't put a NULL bat page in ploop_free_piwb()

 block/blk-cbt.c           | 4 ++--
 drivers/md/dm-ploop-map.c | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: aef96420256e57bf1291859a844800a462f2790e
change-id: 20261127-cbt-ploop-fixes-33bd6e802462

-- 
Best regards, Vasileios Almpanis
Software Developer, Virtuozzo.

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-12-01  0:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 12:31 [Devel] [PATCH hci-8.2 0/2] blk-cbt and dm-ploop: fix a host WARN and a NULL put_page Vasileios Almpanis
2026-11-27 12:31 ` [Devel] [PATCH hci-8.2 1/2] block/blk-cbt: don't WARN on an ABI version mismatch Vasileios Almpanis
2026-11-30 11:58   ` Konstantin Khorenko
2026-12-01  0:47   ` no-reply
2026-11-27 12:31 ` [Devel] [PATCH hci-8.2 2/2] dm-ploop: don't put a NULL bat page in ploop_free_piwb() Vasileios Almpanis
2026-11-30 11:58   ` Konstantin Khorenko
2026-12-01  0:48   ` no-reply
2026-11-30 11:58 ` [Devel] [PATCH hci-8.2 0/2] blk-cbt and dm-ploop: fix a host WARN and a NULL put_page Konstantin Khorenko
2026-11-30 11:58 ` Konstantin Khorenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.