diff options
| author | NeilBrown <[email protected]> | 2022-05-09 18:20:48 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-09 18:20:48 -0700 |
| commit | 7eadabc05d45ecedc0e8906d1db46bc8cfeb02af (patch) | |
| tree | c2e575f6951376bd77063a76fa761dc47fad8d5e /tools | |
| parent | eb79f3af9395fbe448e91b0940a6c395b7d06be4 (diff) | |
mm: perform async writes to SWP_FS_OPS swap-space using ->swap_rw
This patch switches swap-out to SWP_FS_OPS swap-spaces to use ->swap_rw
and makes the writes asynchronous, like they are for other swap spaces.
To make it async we need to allocate the kiocb struct from a mempool.
This may block, but won't block as long as waiting for the write to
complete. At most it will wait for some previous swap IO to complete.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: NeilBrown <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: David Howells <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Trond Myklebust <[email protected]>
Cc: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions