Re: [PATCH 2/3] xfs: use b_offset to support direct-mapping pages when blocksize < pagesize

Christoph Hellwig
2024-01-03T08:45:48Z

On Sun, Dec 31, 2023 at 12:40:24PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Support using directly-mapped pages in the buffer cache when the fs
> blocksize is less than the page size. This is not strictly necessary
> since the only user of direct-map buffers always uses page-sized
> buffers, but I included it here for completeness.

As mentioned on the main shmem mapping patch - let's not add code
that is guaranteed to be unused.