summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/locking.rst
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2022-05-10 04:20:48 +0300
committerakpm <akpm@linux-foundation.org>2022-05-10 04:20:48 +0300
commit7eadabc05d45ecedc0e8906d1db46bc8cfeb02af (patch)
treec2e575f6951376bd77063a76fa761dc47fad8d5e /Documentation/filesystems/locking.rst
parenteb79f3af9395fbe448e91b0940a6c395b7d06be4 (diff)
downloadlinux-7eadabc05d45ecedc0e8906d1db46bc8cfeb02af.tar.xz
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/164859778126.29473.12399585304843922231.stgit@noble.brown Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: David Howells <dhowells@redhat.com> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Hugh Dickins <hughd@google.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/filesystems/locking.rst')
0 files changed, 0 insertions, 0 deletions