Hi Minchan, On Tue, Feb 28, 2023 at 03:29:00PM -0800, Minchan Kim wrote: > > - Swap writeback LRU that lives outside of the zpool backends (i.e in > > zswap itself or even outside zswap). > > Even outside zswap to support any combination on any heterogenous > multiple swap device configuration. > > The indirection layer would be essential to support it but it would > be also great if we don't waste any memory for the user who don't > want the feature. I feel the same way as well. > > Just FYI, there was similar discussion long time ago about the > indirection layer. > https://lore.kernel.org/linux-mm/4DA25039.3020700@xxxxxxxxxx/ Thanks for the pointer, that is an interesting read. I need some time to think about it. Chris