Re: [PATCH 18/32] fs: Provide operation for fetching mapping_metadata_bhs

Christoph Hellwig <[email protected]> Wed, 4 Mar 2026 05:19:15 -0800
Newsgroups gmane.linux.kernel.aio.general,gmane.linux.file-systems,gmane.comp.file-systems.ext4,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Tue, Mar 03, 2026 at 11:34:07AM +0100, Jan Kara wrote:
> When we move mapping_metadata_bhs to fs-private part of an inode the
> generic code will need a way to get to this struct from general struct
> inode. Add inode operation for this similarly to operation for grabbing
> offset_ctx.

Do we even need this?  With your previous cleanups almost all of the
places that need the buffers list are called more or less directly
from the file systems.  Can we take it all the way and just pass the
mapping_metadata_bhs to those functions?


--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to [email protected].  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"[email protected]">[email protected]</a>