]> Git Repo - linux.git/commit - fs/fuse/dev.c
fuse: use req->page_descs[] for argpages cases
authorMaxim Patlasov <[email protected]>
Fri, 26 Oct 2012 15:49:33 +0000 (19:49 +0400)
committerMiklos Szeredi <[email protected]>
Thu, 24 Jan 2013 15:21:27 +0000 (16:21 +0100)
commit85f40aec887110ae6bbefa87988def4606a3d583
tree1408110166343717d8b2710f337882309451b7af
parentb2430d7567a376b3685627ca7e9d712f6f27d49b
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 <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
fs/fuse/cuse.c
fs/fuse/dev.c
fs/fuse/dir.c
fs/fuse/file.c
This page took 0.053937 seconds and 4 git commands to generate.