From: Maxim Patlasov Date: Fri, 14 Dec 2012 15:20:51 +0000 (+0400) Subject: fuse: make fuse_direct_io() aware about AIO X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36cf66ed9f871fc0d0911921fba5873df3ddb2dc;p=pandora-kernel.git fuse: make fuse_direct_io() aware about AIO The patch implements passing "struct fuse_io_priv *io" down the stack up to fuse_send_read/write where it is used to submit request asynchronously. io->async==0 designates synchronous processing. Non-trivial part of the patch is changes in fuse_direct_io(): resources like fuse requests and user pages cannot be released immediately in async case. Signed-off-by: Maxim Patlasov Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed