Thread (18 messages) 18 messages, 4 authors, 2023-09-15

RE: [PATCH v4 05/13] iov: Move iterator functions to a header file

From: David Laight <hidden>
Date: 2023-09-14 09:07:02
Also in: linux-block, linux-fsdevel, linux-mm, lkml

From: David Howells
Sent: 13 September 2023 17:57

Move the iterator functions to a header file so that other operations that
need to scan over an iterator can be added.  For instance, the rbd driver
could use this to scan a buffer to see if it is all zeros and libceph could
use this to generate a crc.
These all look a bit big for being more generally inlined.

I know you want to avoid the indirect call in the normal cases,
but maybe it would be ok for other uses?

		David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help