diff options
| author | Paulo Alcantara <pc@manguebit.org> | 2026-10-28 22:41:59 -0300 |
|---|---|---|
| committer | Paulo Alcantara <pc@manguebit.org> | 2026-11-11 13:50:53 -0300 |
| commit | 64db0dc1f3e689145e698bc1b20ee70b1724b945 (patch) | |
| tree | f3d03e51ad11774ac15f458f2079a8ea0c61f7f2 /tools/perf/scripts/python/bin | |
| parent | 0df0f24803061b6c2bef0d24de7c63c9cce46a49 (diff) | |
smb: client: retry writes that couldn't be issued due to a reconnect
__cifs_issue_write() fails a subrequest with -EAGAIN when its handle got
invalidated or its credits belong to a session from before a reconnect,
both before sending anything. netfs used to retry any -EAGAIN by itself,
but now only retries subrequests marked for it, so these writes fail and
their folios end writeback clean, losing the data.
Mark them for retry instead. The retry gets the handle reopened and
fresh credits in cifs_prepare_write().
Fixes: 82e8885bd763 ("netfs: when subreq is marked for retry, do not check if it faced an error")
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
