On Fri, Dec 17, 2021 at 10:48:22AM +1100, NeilBrown wrote: > Writes to SWP_FS_OPS swapspace is currently synchronous. To make it > async we need to allocate the kiocb struct which may block, but won't > block as long as waiting for the write to complete would block. Against a little helper for the SWP_FS_OPS case of __swap_writepage would be nice. But otherwise this looks good to me.