Skip to content
Commit 7909b1c6 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: don't use atomic kmap



Don't use atomic kmap for mapping userspace buffers in device
read/write/splice.

This is necessary because the next patch (adding store notify)
requires that caller of fuse_copy_page() may sleep between
invocations.  The simplest way to ensure this is to change the atomic
kmaps to non-atomic ones.

Thankfully architectures where kmap() is not a no-op are going out of
fashion, so we can ignore the (probably negligible) performance impact
of this change.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 815c4163
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment