Re: [PATCH 2/3] mm/swap: add a new swap_ops.h header to allow for pluggable swap ops
Christoph Hellwig <[email protected]> Thu, 23 Jul 2026 07:27:06 +0200
| Newsgroups | org.kernel.vger.linux-nfs,org.kernel.vger.linux-cifs,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 22, 2026 at 09:32:17AM -0700, Usama Arif wrote:
> > +struct swap_io_ctx {
> > + struct swap_iocb *sio;
> > + struct swap_info_struct *sis;
> > +};
>
> zswap uses this struct, I think you need to include the header in zswap.c
> as well, good to check if the build is passing with CONFIG_ZSWAP=y
Yes. The buildbot was nice enough to remind me of that just a little
after it gave an all ok...