[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <445a78b0ff3047fea20d3c8058a5ff6a@AcuMS.aculab.com>
Date: Thu, 14 Sep 2023 09:06:25 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'David Howells' <dhowells@...hat.com>, Al Viro <viro@...iv.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>
CC: Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>, "Christian
Brauner" <christian@...uner.io>, Matthew Wilcox <willy@...radead.org>, "Jeff
Layton" <jlayton@...nel.org>, "linux-fsdevel@...r.kernel.org"
<linux-fsdevel@...r.kernel.org>, "linux-block@...r.kernel.org"
<linux-block@...r.kernel.org>, "linux-mm@...ck.org" <linux-mm@...ck.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v4 05/13] iov: Move iterator functions to a header file
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)
Powered by blists - more mailing lists