From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 1/3] pcm_file: use EIO instead of EPIPE when failing to write output file Date: Wed, 03 Jul 2019 14:23:22 +0200 Message-ID: References: <1561987518-2828-1-git-send-email-amiartus@de.adit-jv.com> <1561987518-2828-2-git-send-email-amiartus@de.adit-jv.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3F1A0F80058 for ; Wed, 3 Jul 2019 14:23:23 +0200 (CEST) In-Reply-To: <1561987518-2828-2-git-send-email-amiartus@de.adit-jv.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Adam Miartus Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Mon, 01 Jul 2019 15:25:16 +0200, Adam Miartus wrote: > > EPIPE is defined as XRUN which is not entirely correct in this condition > > failing to write to a file in pcm_file plugin can not be simply recovered > by a retry as user of the api might be led to believe when receiving EPIPE > > use EIO instead to indicate a different kid of error that may not be > recoverable by retry > > Signed-off-by: Adam Miartus > Reviewed-by: Timo Wischer Applied, thanks. Takashi