RE: Dm-crypt patch for OCF

2005-09-07 Thread Ronen Shitrit
Hi I don't think there is any problem to let the read request to flow through, since in the original code, In order to decrypt the read requests, we create a new task (workingQ) that perform the decrypt, and doesn't notify any other task when it finish, except for the dec_pending(io,r) which I

Re: Dm-crypt patch for OCF

2005-09-07 Thread Evgeniy Polyakov
On Wed, Sep 07, 2005 at 11:07:14AM +0300, Ronen Shitrit ([EMAIL PROTECTED]) wrote: I don't think so, In the kcrypt_do_work I call dec_pending only in case return value is error. But you return from crypto code with zero (OK) status when crypto_dispatch() can fail, and this BIO will be