From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10605 invoked by alias); 14 Jan 2017 15:38:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10596 invoked by uid 89); 14 Jan 2017 15:38:10 -0000 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 Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 14 Jan 2017 15:38:00 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id CE6CE721E2825 for ; Sat, 14 Jan 2017 16:37:57 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 35F3F5E021D for ; Sat, 14 Jan 2017 16:37:56 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id 15F3AA804D6; Sat, 14 Jan 2017 16:37:56 +0100 (CET) Date: Sat, 14 Jan 2017 15:38:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: borgbackup test fail on cygwin (only) - cygwin pipe issues? Message-ID: <20170114153756.GB9762@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <8d66dac6-689d-972f-d06a-f4c1869b6b87@waldmann-edv.de> <6d5d6289-ea61-cd18-fb48-c5053f292e0f@gmail.com> <326b4885-182e-841c-8522-2ec48841c9a4@waldmann-edv.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <326b4885-182e-841c-8522-2ec48841c9a4@waldmann-edv.de> User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017-01/txt/msg00167.txt.bz2 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1023 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" Content-length: 819 -----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--