Re: [RFC 1/2] gfs2: replace sd_aspace with sd_inode

From: Christoph Hellwig
Date: Thu Apr 10 2025 - 04:51:31 EST


On Mon, Apr 07, 2025 at 08:21:01PM +0200, Andreas Gruenbacher wrote:
> Use a dummy inode as mapping->host of the address spaces for global as
> well as per-inode metadata. The global metadata address space is now
> accessed as gfs2_aspace(sdp) instead of sdp->sd_aspace. The per-inode
> metadata address spaces are still accessed as
> gfs2_glock2aspace(GFS2_I(inode)->i_gl).
>
> Based on a previous version from Bob Peterson from several years ago.

Please explain why you are doing this, not just what.