Messages in this thread | | | Date | Wed, 15 Mar 2023 19:58:21 +0100 | Subject | Re: [PATCH v19 01/15] splice: Clean up direct_splice_read() a bit | From | David Hildenbrand <> |
| |
On 15.03.23 17:35, David Howells wrote: > Do a couple of cleanups to direct_splice_read(): > > (1) Cast to struct page **, not void *. > > (2) Simplify the calculation of the number of pages to keep/reclaim in > direct_splice_read(). > > Suggested-by: Christoph Hellwig <hch@infradead.org> > Signed-off-by: David Howells <dhowells@redhat.com> > Reviewed-by: Christoph Hellwig <hch@lst.de> > cc: Jens Axboe <axboe@kernel.dk> > cc: Al Viro <viro@zeniv.linux.org.uk> > cc: David Hildenbrand <david@redhat.com> > cc: John Hubbard <jhubbard@nvidia.com> > cc: linux-mm@kvack.org > cc: linux-block@vger.kernel.org > cc: linux-fsdevel@vger.kernel.org > ---
Reviewed-by: David Hildenbrand <david@redhat.com>
-- Thanks,
David / dhildenb
| |