From owner-svn-src-all@freebsd.org Mon Jun 29 19:41:20 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AEF09900EF; Mon, 29 Jun 2015 19:41:20 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7082B1ABC; Mon, 29 Jun 2015 19:41:20 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by ieqy10 with SMTP id y10so122564415ieq.0; Mon, 29 Jun 2015 12:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=LP8t987+DMvC051tt8P6gxQMXCd9F8497n1yjkg/+V8=; b=h21Q3Assod7RJbjMovTMf79uvEJQs+uZsWSCe9JOC+XXmHxj7OJIx2rxCm7C3CsHq9 Rch1qwhxzbjIrgqF6OptbZpJDP4JMUoZ5BFGXp8C7VVfWTywExHOU5vnHUEKYzMgx67p 3lOAhIWUby/cjvG5WwFjZIz7KOhvDvba+wyw5XMKxi7ZIQ2QpkZ3K19oPYF+I/vF7lln u6PjRC+E7I6UafvOYL4A5ceBPx5u2ZdsTeSnOpGsxtSmwjp5HlVku4VFl0v5KFpescFD EjqxvyWptcZZcbE1fd7hDk1tw41y55ZUwz1UfUNxt4cBLkyn2TDXfLDEmGMTCekEoYD+ fC9A== X-Received: by 10.107.165.206 with SMTP id o197mr9457725ioe.2.1435606879749; Mon, 29 Jun 2015 12:41:19 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.48.3 with HTTP; Mon, 29 Jun 2015 12:40:57 -0700 (PDT) In-Reply-To: References: <201506291348.t5TDmiZG039322@svn.freebsd.org> From: Ed Maste Date: Mon, 29 Jun 2015 15:40:57 -0400 X-Google-Sender-Auth: kA1UC6msBk_ziVsXfFID-OzvfLw Message-ID: Subject: Re: svn commit: r284928 - head/usr.bin/ar To: Adrian Chadd Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2015 19:41:20 -0000 > On 29 June 2015 at 06:48, Ed Maste wrote: >> Author: emaste >> Date: Mon Jun 29 13:48:44 2015 >> New Revision: 284928 >> URL: https://svnweb.freebsd.org/changeset/base/284928 >> >> Log: >> speed up ar(1) on UFS file systems > > Is this potentially an issue for other applications? Why is it such a > big issue for ar? Yes, it could be an issue for other applications, and I'm all that happy to have this workaround in ar(1); it's a quick workaround for the issue at hand. kib pointed me at the explanation in vfs_vnops.c which explains the deadlock avoidance code well, although I'm still not sure why the slowdown is so extreme.