WSL2-Linux-Kernel/fs/fuse
Maxim Patlasov 85f40aec88 fuse: use req->page_descs[] for argpages cases
Previously, anyone who set flag 'argpages' only filled req->pages[] and set
per-request page_offset. This patch re-works all cases where argpages=1 to
fill req->page_descs[] properly.

Having req->page_descs[] filled properly allows to re-work fuse_copy_pages()
to copy page fragments described by req->page_descs[]. This will be useful
for next patches optimizing direct_IO.

Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2013-01-24 16:21:27 +01:00
..
Kconfig fuse: Move CUSE Kconfig entry from fs/Kconfig into fs/fuse/Kconfig 2013-01-17 13:08:45 +01:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00
control.c fuse: mark variables uninitialized 2012-09-03 17:44:06 +02:00
cuse.c fuse: use req->page_descs[] for argpages cases 2013-01-24 16:21:27 +01:00
dev.c fuse: use req->page_descs[] for argpages cases 2013-01-24 16:21:27 +01:00
dir.c fuse: use req->page_descs[] for argpages cases 2013-01-24 16:21:27 +01:00
file.c fuse: use req->page_descs[] for argpages cases 2013-01-24 16:21:27 +01:00
fuse_i.h fuse: add per-page descriptor <offset, length> to fuse_req 2013-01-24 16:21:27 +01:00
inode.c fuse: categorize fuse_get_req() 2013-01-24 16:21:25 +01:00