Re: [PATCH v6 2/3] mm/swap: use swap_ops to register swap device's methods
From: Christoph Hellwig
Date: Fri May 15 2026 - 02:40:03 EST
On Wed, May 13, 2026 at 11:33:50PM +0800, Baoquan He wrote:
> This patchset is part I. I posted v1 to collect suggestions, later I
> took a leave, then people think the v1 can be merged firstly and helped
> to post v2. I later came back and continue to push this part. If you
> just found this patch series and come up with those cleanups, could you
> wait a moment until we merge this part and part II is posted? I think
> the split handling of block and fs in swap you mentioned is super cool,
> and is beyond our plan.
I've been looking at this a bit more, and I think it is going very
much in the wrong direction. I've started drafting a version that
moves block to the same model as fs to build up multi-folio bios,
which actually allows for a clean abstraction.