fuse: add per-page descriptor <offset, length> to fuse_req
authorMaxim Patlasov <mpatlasov@parallels.com>
Fri, 26 Oct 2012 15:49:24 +0000 (19:49 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 24 Jan 2013 15:21:27 +0000 (16:21 +0100)
commitb2430d7567a376b3685627ca7e9d712f6f27d49b
tree2c59795b27e57f6a0a6c15d0f8aea3aac32f8317
parent54b966702dafe396b6f4e609f222b8e0fdb4d7a4
fuse: add per-page descriptor <offset, length> to fuse_req

The ability to save page pointers along with lengths and offsets in fuse_req
will be useful to cover several iovec-s with a single fuse_req.

Per-request page_offset is removed because anybody who need it can use
req->page_descs[0].offset instead.

Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dev.c
fs/fuse/file.c
fs/fuse/fuse_i.h