dm crypt: add comments to better describe crypto processing logic
authorMilan Broz <mbroz@redhat.com>
Fri, 15 May 2015 15:00:25 +0000 (17:00 +0200)
committerMike Snitzer <snitzer@redhat.com>
Fri, 29 May 2015 18:19:02 +0000 (14:19 -0400)
commit54cea3f6681ad9360814e2926d1f723bbd0f74ed
treeaea40103f614731fc7d8f3aa4026af31a3d8f311
parented63287dd670f8e9d2412a913de7fdc50a689831
dm crypt: add comments to better describe crypto processing logic

A crypto driver can process requests synchronously or asynchronously
and can use an internal driver queue to backlog requests.
Add some comments to clarify internal logic and completion return codes.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c