aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-02-24 23:48:52 +0000
committerCarlos Maiolino <[email protected]>2025-02-25 12:05:59 +0000
commit4b90de5bc0f5a6d1151acd74c838275f9b7be3a5 (patch)
treee82c053b7dba02ecb6ea1444aab0f871a7454f88 /tools/testing/selftests/net/lib/py/utils.py
parentxfs: flush inodegc before swapon (diff)
downloadkernel-4b90de5bc0f5a6d1151acd74c838275f9b7be3a5.tar.gz
kernel-4b90de5bc0f5a6d1151acd74c838275f9b7be3a5.zip
xfs: reduce context switches for synchronous buffered I/O
Currently all metadata I/O completions happen in the m_buf_workqueue workqueue. But for synchronous I/O (i.e. all buffer reads) there is no need for that, as there always is a called in process context that is waiting for the I/O. Factor out the guts of xfs_buf_ioend into a separate helper and call it from xfs_buf_iowait to avoid a double an extra context switch to the workqueue. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions