[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220520094459.116240-1-Jason@zx2c4.com>
Date: Fri, 20 May 2022 11:44:56 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Jens Axboe <axboe@...nel.dk>, Theodore Ts'o <tytso@....edu>,
Christoph Hellwig <hch@....de>,
LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>
Subject: [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(-)
--
2.35.1
Powered by blists - more mailing lists