From: Herbert Xu Subject: Re: [PATCH v9 00/20] simplify crypto wait for async op Date: Sun, 15 Oct 2017 23:38:31 +0800 Message-ID: <20171015153831.GA22867@gondor.apana.org.au> References: <1508059209-25529-1-git-send-email-gilad@benyossef.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Mike Snitzer , linux-doc@vger.kernel.org, Gary Hook , David Howells , dm-devel@redhat.com, keyrings@vger.kernel.org, linux-ima-devel@lists.sourceforge.net, Alasdair Kergon , Steffen Klassert , Boris Brezillon , Jonathan Corbet , Alexey Kuznetsov , Mimi Zohar , "Serge E. Hallyn" , Tom Lendacky , linux-cifs@vger.kernel.org, linux-ima-user@lists.sourceforge.net, Arnaud Ebalard , linux-fscrypt@vger.kernel.org, linux-mediatek@lists.infradead.org, James Morris , Matthias Brugger , Jaegeuk Kim , linux-arm-kernel@lists.infradead.org, Ofir Dra To: Gilad Ben-Yossef Return-path: Content-Disposition: inline In-Reply-To: <1508059209-25529-1-git-send-email-gilad@benyossef.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com List-Id: linux-crypto.vger.kernel.org On Sun, Oct 15, 2017 at 10:19:45AM +0100, Gilad Ben-Yossef wrote: > > Changes from v8: > - Remove the translation of EAGAIN return code to the > previous return code of EBUSY for the user space > interface of algif as no one seems to rely on it as > requested by Herbert Xu. Sorry, but I forgot to mention that EAGAIN is not a good value to use because it's used by the network system calls for other meanings (interrupted by a signal). So if we stop doing the translation then we also need to pick a different value, perhaps E2BIG or something similar that have no current use within the crypto API or network API. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt