From owner-freebsd-current@FreeBSD.ORG Fri Jul 17 20:33:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616E9106566B; Fri, 17 Jul 2009 20:33:18 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id BB2C28FC13; Fri, 17 Jul 2009 20:33:17 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fxm24 with SMTP id 24so862984fxm.43 for ; Fri, 17 Jul 2009 13:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=p1Wuxh2xY9i7yd8Tmt+LPuWaQH6C9L4rtoBwYDT6IQ4=; b=qxVtcWF+P/41ZV6rW3g+tY/Hk73nBc/cAqo6mkklAA5FE4HeAJrBJkcV3AMnLOU2V3 8Zl4iwCICHQUUjzicCo/RpVWIETz7BMeI/yL50aVT4neAa2NKmGKupua5zCTjMenztdR LGiIAkwSWfC6Jswwtv+9Qrl7OTe1lrEcNx/U4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=u4vdYMD82+/e5WvP08JjPyMlY8P8+jQV5ZUSJxFpwNRyAHXrX7pyLHV9ZEyTi9fU2w +ffAaekzWr02bpaFHT0j83d6VfDTgEeMl9d2F8mBy3V2aStw34l3haMvUNWykzacVKWD zHkGWFop4xpLMiwysYWjr24UM71TRVkTRYb9w= Received: by 10.86.59.2 with SMTP id h2mr1135262fga.60.1247862796443; Fri, 17 Jul 2009 13:33:16 -0700 (PDT) Received: from localhost (95-24-64-233.broadband.corbina.ru [95.24.64.233]) by mx.google.com with ESMTPS id d6sm3117003fga.10.2009.07.17.13.33.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Jul 2009 13:33:15 -0700 (PDT) From: Anonymous To: Rick Macklem References: <86zlb45px8.fsf@gmail.com> <20090717081105.GQ55190@deviant.kiev.zoral.com.ua> Date: Sat, 18 Jul 2009 00:33:13 +0400 Message-ID: <86ocrjyrqu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kostik Belousov , Rick Macklem , freebsd-current@freebsd.org Subject: Re: [newnfs/client] SIGINFO aborts transfer and produces `permission denied' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2009 20:33:19 -0000 Rick Macklem writes: > On Fri, 17 Jul 2009, Kostik Belousov wrote: > >> On Thu, Jul 16, 2009 at 08:15:29PM -0400, Rick Macklem wrote: >>> >>> >>> On Fri, 17 Jul 2009, Anonymous wrote: >>> >>>> Let's populate /blah with 50Mb files and send SIGINFO to cp(1) process >>>> while >>>> copying it over nfsv3. >>>> >>>> # uname -vm >>>> FreeBSD 8.0-BETA1 #0: Sat Jul 4 03:55:14 UTC 2009 >>>> root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >>>> > Ah, my commit related to blocking signals (cloned from the regular > nfs client) didn't go into head until Jul 12 (r195642), so I think > this might be fixed by that. > > If you still see it when running a post-r195642 kernel, please let > me know, rick Yep, I can reproduce it as easily on 8.0-BETA2 snapshot under qemu # uname -vm FreeBSD 8.0-BETA2 #0: Wed Jul 15 23:25:30 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Here is ktrace for following ftp://ftp.lissyara.su/users/Guest/newnfs/siginfo_ktrace.out.bz2 ftp://ftp.lissyara.su/users/Guest/newnfs/siginfo_ktrace.txt.bz2 (kdump -Rr) # ktrace -i cp -R /mnt /aaa load: 1.09 cmd: cp 996 [runnable] 1.25r 0.00u 0.51s 3% 880k /mnt/foo_1 -> /aaa/foo_1 16% load: 1.09 cmd: cp 996 [newnfsreq] 5.43r 0.00u 2.06s 13% 880k cp: /mnt/foo_1: Permission denied /mnt/foo_2 -> /aaa/foo_2 0% load: 1.16 cmd: cp 996 [runnable] 8.61r 0.00u 3.24s 17% 904k cp: /mnt/foo_2: Permission denied /mnt/foo_3 -> /aaa/foo_3 0% load: 1.16 cmd: cp 996 [runnable] 10.98r 0.00u 4.14s 23% 904k cp: /mnt/foo_3: Permission denied I'm not sure if it's useful.