diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-06-24 20:59:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:01 +0200 |
| commit | fd62c1f591372f7dc4c5bc041569c2f0a4a86be1 (patch) | |
| tree | 0e7ec1016fb56997b9625e052a997c8f77caced8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7bf6940d7cf41f1f0330a9bae4b7a886e18fd8e3 (diff) | |
misc: ibmvmc: release send buffer on write errors
ibmvmc_get_valid_hmc_buffer() marks the selected send buffer busy before
ibmvmc_write() validates the backing storage or copies data from user
space. Error exits after that point leave the buffer permanently busy.
Keep the buffer pointer until ownership is handed to the hypervisor, and
mark it free again on local write failures. Also report an RDMA send
failure instead of returning a successful byte count.
Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
Link: https://patch.msgid.link/20260624185925.2133-1-alhouseenyousef@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
