diff options
author | Beau Belgrave <[email protected]> | 2023-12-10 21:35:34 +0000 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-12-12 19:00:37 -0500 |
commit | 5eaf7f0589c0d88178f0fbeebe0e0b7108258707 (patch) | |
tree | ddfe90eaf9354cbca70612c11b407e00553037de /tools/perf/scripts/python/stat-cpi.py | |
parent | b55b0a0d7c4aa2dac3579aa7e6802d1f57445096 (diff) |
eventfs: Fix events beyond NAME_MAX blocking tasks
Eventfs uses simple_lookup(), however, it will fail if the name of the
entry is beyond NAME_MAX length. When this error is encountered, eventfs
still tries to create dentries instead of skipping the dentry creation.
When the dentry is attempted to be created in this state d_wait_lookup()
will loop forever, waiting for the lookup to be removed.
Fix eventfs to return the error in simple_lookup() back to the caller
instead of continuing to try to create the dentry.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Fixes: 63940449555e ("eventfs: Implement eventfs lookup, read, open functions")
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]/
Signed-off-by: Beau Belgrave <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions