delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/14/10:38:25

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=kVA1fq2bE/VNSrJez7siVHlXxhJs5jUiinsfc82T9lmKii78C60/d
555+N3Jy469Bdpf+ZgQ83avXGxDDJYq1SI9hqAUXepcdN+8BmFtqQmGtHVS8rViI
wUBd1xnHlpd9Az93E0oTztsJKdiya+VYUVSOmC4rkakp5JVvqhTQl0=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=GMPMjwmWxniO+yAnned8zpjlw/Q=; b=vwYUW4AbVb97+Ir+ouYFQyAqa8Fp
KdCHa76z3g9AU6DQMqKNk1V7mDtGvtdLEV0fJfMmML1gbEYV0PhfL7anx7LAjUM2
BV8YAm5fxnu1PR14tthcvjcbXG/eKPIPAVSVYB1YdB3uXsbgkCmTKmzCiQW2Hl1h
Eao3FbLlVQGi6I4=
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=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:326b488, H*f:sk:326b488, H*MI:sk:326b488, our
X-HELO: drew.franken.de
Date: Sat, 14 Jan 2017 16:37:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: borgbackup test fail on cygwin (only) - cygwin pipe issues?
Message-ID: <20170114153756.GB9762@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-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> <326b4885-182e-841c-8522-2ec48841c9a4 AT waldmann-edv DOT de>
MIME-Version: 1.0
In-Reply-To: <326b4885-182e-841c-8522-2ec48841c9a4@waldmann-edv.de>
User-Agent: Mutt/1.7.1 (2016-10-04)

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 13 20:07, Thomas Waldmann wrote:
> 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.
> >=20
> > borgbackup fix/workaround see there:
> >=20
> > https://github.com/borgbackup/borg/pull/2032
> >=20
> > It (almost?) never happened on other OSes, due to their bigger buffers.
>=20
> 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.
>=20
> So, should cygwin also behave that ^^^ way on blocking pipes?

Yes.  I inspected the code and the current behaviout was apparently
an accident when refactoring the pipe write code.  I applied a patch
and uploaded new developer snapshots to https://cygwin.com/snapshots/
Please give them a try.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYekXTAAoJEPU2Bp2uRE+gG5cQAJeulAkwhQaU+gHUBmyZ5Zld
dnl0Vmbpg+DS8EQl8ou92ZaJjIFWHCg7+QNUOaS4hT6uSjCUfJTQ9kYXwyMrh+bb
VkNPRiRth82tJFck/qu9eqnaP/EoiQwFan680dFshI+TZvrfjoB/1bvbLD6sUWXT
BLV8btcyJu0kYXMnqWtmAENKEacyNzyjmkI470DykOziZjIc3rWMoXdXVDNXXVAm
aD5ubf+yFkTfTUnXdU3H0CLQoIrSK3u61sICof1Sk6lHVF/+ciKh1LZU6PFGsHWg
uuqB//6H3MjAFI3SPFNFRJy4Jpvs8OfeKw2jr6TsAMfUFj56Y0SioZi4AsvB/HaU
IwnUFKVybzv2V2hhEEG/dOe8MLpIptudTe1g2HmiXq3Uk7ru1LH9aUbzpPC0fdps
VrEYx6fRElRj/QDyfz7cRosw1JLvmKmdFekKrjpdNrXnKXC5JxFBlW6tPOV5cqjQ
X/D64J8RGDhS2ceSmJDIg4B2DROZrniABXvNEQG+nwnfYJfeyiVsfpqEVX6KMMqB
0S2YZq6fppfyYq9DyBjWmTz+sPg0jNf/eThRf8SPuDrIXCoo1N2fyT95DcLuqowJ
GFX7L459MzgiiUn5ABcPZ5O2qWyoOSAt+bWGyZE7saxWMxdhJCGLwF7D6cvEZZM8
EUaHE4X4Q8BONfoQo1PU
=EGqH
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

- Raw text -


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