From: Tadeusz Struk Date: Thu, 19 Mar 2015 19:31:40 +0000 (-0700) Subject: crypto: algif - change algif_skcipher to be asynchronous X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~179^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a596999b7ddfe7fc5b7b8adf9536ab1c39cb12d2;p=pandora-kernel.git crypto: algif - change algif_skcipher to be asynchronous The way the algif_skcipher works currently is that on sendmsg/sendpage it builds an sgl for the input data and then on read/recvmsg it sends the job for encryption putting the user to sleep till the data is processed. This way it can only handle one job at a given time. This patch changes it to be asynchronous by adding AIO support. Signed-off-by: Tadeusz Struk Signed-off-by: David S. Miller --- Reading git-diff-tree failed