virtio-fs: change handling of failure at request enqueue
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-fs: let -ENOMEM bubble up or burst gentlyfs/ | +3 | 1 reply | |
| 2/2 | virtio-fs: improved request latencies when Virtio queue is fullfs/ | +19 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Max Gurtovoy | Yoray Zack | Stefan Hajnoczi |
|---|---|---|---|
| Series | R-b | ||
| 1/2 | R-b | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/2] virtio-fs: change handling of failure at request enqueue
This patch set aims to improve the latencies of virtio-fs requests when the system is under high load, namely when the application's IO depth is greater than the size of the Virtio queue.
We found that the handling of -ENOMEM when enqueueing requests is inconsistent with other parts of the kernel (e.g. FUSE) and also obstructs optimizing the enqueueing behavior.
It is important to first remove the -ENOMEM behavior as the new style of retrying virtio-fs requests in patch 2/2 is only correct in case of -ENOSPC. With -ENOMEM the failed enqueue might never be retried as there might not be another completion to trigger retrying the enqueue.
Note that this patch series is a revival of my patch that was last discussed in the mailing list on 2023-08-16.
Peter-Jan Gootzen (2):
virtio-fs: let -ENOMEM bubble up or burst gently
virtio-fs: improved request latencies when Virtio queue is full
fs/fuse/virtio_fs.c | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-)
Signature · 1 line
2.34.1