Commit 2aa69e38 authored by Yu'an Wang's avatar Yu'an Wang Committed by Yang Yingliang
Browse files

sec: modify driver to adapt dm-crypt



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

In this patch, we try to modify sec driver to adapt dm-crypt logic.
1.To avoid dm-crypt wait for timeout, we should call complete as soon
as possible to notify crypto driver to restart new io.
2. We add send/recv/send_busy/recv_busy/err_bd/done_flag cnt dfx for
software to judge current io state.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
Reviewed-by: default avatarMingqiang Ling <lingmingqiang@huawei.com>
Reviewed-by: default avatarGuangwei Zhou <zhouguangwei5@huawei.com>
Reviewed-by: default avatarWeili Qian <qianweili@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent b323acf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment