summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLizhi Xu <lizhi.xu@windriver.com>2025-04-28 22:36:26 +0800
committerJens Axboe <axboe@kernel.dk>2025-05-05 07:18:05 -0600
commitf5c84eff634ba003326aa034c414e2a9dcb7c6a7 (patch)
tree9f808b9e4344dff4bc0dd6fdcd6d4f13d2ac64d3 /tools/perf/scripts/python/export-to-postgresql.py
parent6d732e8d1e6ddc27bbdebbee48fa5825203fb4a9 (diff)
loop: Add sanity check for read/write_iter
Some file systems do not support read_iter/write_iter, such as selinuxfs in this issue. So before calling them, first confirm that the interface is supported and then call it. It is releavant in that vfs_iter_read/write have the check, and removal of their used caused szybot to be able to hit this issue. Fixes: f2fed441c69b ("loop: stop using vfs_iter__{read,write} for buffered I/O") Reported-by: syzbot+6af973a3b8dfd2faefdc@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=6af973a3b8dfd2faefdc Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250428143626.3318717-1-lizhi.xu@windriver.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions