diff options
| author | Li Chen <me@linux.beauty> | 2026-06-30 17:23:31 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:46 -0400 |
| commit | 811808761e19fdea1c25b7c76734b8945f758f27 (patch) | |
| tree | 76d35230de0078d37ed60295c4c6d7defbcf1ab3 /scripts/Makefile.thinlto | |
| parent | decd93e2246fcef1bc5b9266e10d9e8169b7575a (diff) | |
| download | linux-stable-811808761e19fdea1c25b7c76734b8945f758f27.tar.gz linux-stable-811808761e19fdea1c25b7c76734b8945f758f27.zip | |
nvdimm: virtio_pmem: always wake -ENOSPC waiters
virtio_pmem_host_ack() reclaims virtqueue descriptors with
virtqueue_get_buf(). The -ENOSPC waiter wakeup is tied to completing the
returned token. If token completion is skipped for any reason, reclaimed
descriptors may not wake a waiter and the submitter may sleep forever
waiting for a free slot. Always wake one -ENOSPC waiter for each virtqueue
completion before touching the returned token.
Signed-off-by: Li Chen <me@linux.beauty>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260630092338.2094628-7-me@linux.beauty>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
