summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-10-28 21:06:31 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-11-11 13:50:46 -0300
commit0df0f24803061b6c2bef0d24de7c63c9cce46a49 (patch)
tree0a37741e31d64ed60f6e7e791c1078ed7ec73428 /tools/perf/scripts/python
parentfb39fbd782bcd2dccd05f633bc6ac348209dc272 (diff)
smb: client: don't block dying tasks waiting for writeback on fsync
cifs_fsync() and cifs_strict_fsync() wait uninterruptibly for writeback through file_write_and_wait_range(). As with close, a task killed in fsync(2) on a hard mount with an unresponsive server is stuck in D state until the server comes back. Wait killably instead, using the same helper as cifs_flush(). The writeback keeps going and its errors stay in the mapping; only the dying caller stops waiting for it. Signed-off-by: Paulo Alcantara <pc@manguebit.org> Reviewed-by: David Howells <dhowells@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions