X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0	tests=AWL,BAYES_05,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Sat, 19 Jan 2013 00:18:39 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1213214325.20130119001839@mtu-net.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: rtorrent and recent snapshots - apparent problem with msync()
In-Reply-To: <20130118160742.GH11791@calimero.vinschen.de>
References: <CAGHJv4fiyojmQGR_d4=Pv1q9dtJogbcfCKBj_LtWyYsLYOFBGQ@mail.gmail.com> <20130117062415.GB24529@ednor.casa.cgf.cx> <CAGHJv4cTsRD5km3oSmBy2BbWGTvL2mfbU9xRMPbnj2XCLN7HgQ@mail.gmail.com> <CAGHJv4cAm+v_VuKXxjdriTN-d-AoQfengNEFY+MqZOAnOsH0-Q@mail.gmail.com> <20130118003522.GA1913@ednor.casa.cgf.cx> <20130118093205.GB11791@calimero.vinschen.de> <20130118154352.GA23471@ednor.casa.cgf.cx> <20130118160742.GH11791@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Corinna Vinschen!

>> I saw that you made another change to this function.  Is it possible that
>> this might actually fix the "rtorrent problem"?

> No.  It only adds the MS_SYNC handling.  rtorrent uses MS_ASYNC.

That made me think... If rtorrent uses MS_ASYNC, shouldn't *rtorrent* be
prepared for consequences? Instead of you trying to satisfy its
expectations?

> I think there's basically no way around the loop.  I'm just still
> wondering if we shouldn't add a cygwait() call to handle signals
> during the wait time.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 19.01.2013, <00:15>

Sorry for my terrible english...


--
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

