delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/13/14:08:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=UQ7Niyc87mU8nTIY
ZEh1Mpg4fIzpnVFLQiFW2qf9dKsbL3/DsAm16J/1efPa0uHEnInpeisSYBBJcwcT
qRprlnut3gPl8+CYIIbI03WtB3YxVsmi4UpNLvn/ozfgdQWVTm3qr/wcT3sTUC+k
a4Rwpiye7FgUYeGhYx3yRDKAdbw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bERumANW2vKYTz9JCFRdJ0
ec7e4=; b=Kom2IxP080oZrmDW4O9Y4dENnc/PSNCYFpN2VhxotMeISZhKrAOcaj
OYnj4ueZIFajpQ2/uL4n59Nv8iEAuOlPVf5z+h3FqN4eiC8DAhAiuTQqU/qyxAnP
HBOI6L881Lp6Ul6ghNLzawqQrLP1Mo5Swq6pM7F1eQO0wUpyAX8Ok=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:10.10.10, H*M:182e, H*MI:sk:dd6328f, H*f:sk:dd6328f
X-HELO: mail.thinkmo.de
Subject: Re: borgbackup test fail on cygwin (only) - cygwin pipe issues?
To: cygwin AT cygwin DOT com
References: <8d66dac6-689d-972f-d06a-f4c1869b6b87 AT waldmann-edv DOT de> <6d5d6289-ea61-cd18-fb48-c5053f292e0f AT gmail DOT com> <dd6328f1-12ba-7faa-6d44-227986bb755b AT waldmann-edv DOT de>
From: Thomas Waldmann <tw AT waldmann-edv DOT de>
Openpgp: id=6D5BEF9ADD2075805747B70F9F88FB52FAF7B393
Message-ID: <326b4885-182e-841c-8522-2ec48841c9a4@waldmann-edv.de>
Date: Fri, 13 Jan 2017 20:07:49 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <dd6328f1-12ba-7faa-6d44-227986bb755b@waldmann-edv.de>
X-IsSubscribed: yes

On 01/13/2017 07:18 PM, Thomas Waldmann wrote:
> It was a bug in our code that was triggered frequently by the small
> cygwin pipe buffer size of only 64kiB.
> 
> borgbackup fix/workaround see there:
> 
> https://github.com/borgbackup/borg/pull/2032
> 
> It (almost?) never happened on other OSes, due to their bigger buffers.

Hmm, the last phrase seems not to be the real reason why it worked
there, but rather that neither Linux nor *BSD ever do partial writes on
blocking pipes.

So, should cygwin also behave that ^^^ way on blocking pipes?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019