diff options
| author | Li Chen <me@linux.beauty> | 2026-06-30 17:23:31 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-03 23:08:18 -0400 |
| commit | 5915b4ca83967fd6daf521c8599acefe62c0a80b (patch) | |
| tree | 875229ea0519fc6bd7a746c1d15506fda2c8fa45 /scripts/Makefile.thinlto | |
| parent | 5ba542f94526fcc38efa4dff7cde93caa0ff5e0e (diff) | |
| download | linux-next-5915b4ca83967fd6daf521c8599acefe62c0a80b.tar.gz linux-next-5915b4ca83967fd6daf521c8599acefe62c0a80b.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
