lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240122110722.690223-1-yi.sun@unisoc.com>
Date: Mon, 22 Jan 2024 19:07:20 +0800
From: Yi Sun <yi.sun@...soc.com>
To: <axboe@...nel.dk>, <mst@...hat.com>, <jasowang@...hat.com>
CC: <xuanzhuo@...ux.alibaba.com>, <pbonzini@...hat.com>, <stefanha@...hat.com>,
        <virtualization@...ts.linux.dev>, <linux-block@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <yi.sun@...soc.com>,
        <zhiguo.niu@...soc.com>, <hongyu.jin@...soc.com>,
        <sunyibuaa@...il.com>
Subject: [PATCH 0/2] Fix requests loss during virtio-blk device suspend

When a virtio-blk device performs a large number of IO operations and
requires sleep at the same time, some requests may never be successfully
processed. 

It must be ensured that no requests in virtqueues before deleting.
The request becoming complete status means that the request has been removed
from the virtqueue.

Yi Sun (2):
  blk-mq: introduce blk_mq_tagset_wait_request_completed()
  virtio-blk: Ensure no requests in virtqueues before deleting vqs.

 block/blk-mq-tag.c         | 29 +++++++++++++++++++++++++++++
 drivers/block/virtio_blk.c |  6 ++++--
 include/linux/blk-mq.h     |  1 +
 3 files changed, 34 insertions(+), 2 deletions(-)

-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ