diff options
author | Maxim Patlasov <mpatlasov@parallels.com> | 2012-10-26 19:49:33 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-01-24 16:21:27 +0100 |
commit | 85f40aec887110ae6bbefa87988def4606a3d583 (patch) | |
tree | 1408110166343717d8b2710f337882309451b7af /mm/filemap.c | |
parent | b2430d7567a376b3685627ca7e9d712f6f27d49b (diff) |
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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions