diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-03 18:59:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 20:50:47 +0300 |
commit | 99f667352f6c938440d9043d0f66f859d6f3d50d (patch) | |
tree | bf5c687509f17d774cd978ac684c2a2c157d6ca2 /drivers/greybus | |
parent | 261e7818f06ec51e488e007f787ccd7e77272918 (diff) | |
download | linux-99f667352f6c938440d9043d0f66f859d6f3d50d.tar.xz |
/dev/zero: also implement ->read
Christophe reported a major speedup due to avoiding the iov_iter
overhead, so just add this trivial function. Note that /dev/zero
already implements both an iter and non-iter writes so this just
makes it more symmetric.
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20200903155922.1111551-1-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/greybus')
0 files changed, 0 insertions, 0 deletions