diff options
author | Linus Torvalds <[email protected]> | 2021-01-19 11:41:16 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-01-20 16:48:47 -0800 |
commit | 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 (patch) | |
tree | 32628e37f8e7fdc03eb2c65a850ab860cf892d5d /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2c85ebc57b3e1817b6ce1a6b703928e113a90442 (diff) |
tty: implement write_iter
This makes the tty layer use the .write_iter() function instead of the
traditional .write() functionality.
That allows writev(), but more importantly also makes it possible to
enable .splice_write() for ttys, reinstating the "splice to tty"
functionality that was lost in commit 36e2c7421f02 ("fs: don't allow
splice read/write without explicit ops").
Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops")
Reported-by: Oliver Giles <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions