random: convert to using iters, for Al Viro
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 24 repliesIn review
- v33 patches 3 repliesSuperseded
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | random: convert to using fops->read_iter()drivers/ | +24 | 4 replies | |
| 2/3 | random: convert to using fops->write_iter()drivers/ | +35 | 0 replies | |
| 3/3 | random: wire up fops->splice_{read,write}_iter()drivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/3] random: convert to using iters, for Al Viro
Hi Al,
I've incorporated your suggestions into Jens' patches and simplified a lot of the control flow. Could you take a look at these and let me know if it looks sane? In particular, I'm using the property you mentioned in which copy_{to,from}_iter() can take a maximum and do less if the remaining length is too small.
Jason
Jens Axboe (3):
random: convert to using fops->read_iter()
random: convert to using fops->write_iter()
random: wire up fops->splice_{read,write}_iter()
drivers/char/random.c | 126 +++++++++++++++++++++--------------------- 1 file changed, 63 insertions(+), 63 deletions(-)
Signature · 1 line
2.35.1