On Fri, Nov 09, 2018 at 07:19:38AM -0800, Christoph Hellwig wrote: > > +/* > > + * Return the block size we should use for page cache based operations. > > + * This will return the inode block size for block size < PAGE_SIZE, > > + * otherwise it will return PAGE_SIZE. > > + */ > > +static inline unsigned > > +iomap_pageblock_size(struct inode *inode) > > Maybe cal this a chunk size instead? Sure. /me has flashbacks to Irix and it's "chunk cache" for efficient filesystem block size state tracking and caching over the top of the page cache. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx