From owner-freebsd-fs@FreeBSD.ORG Mon Nov 8 15:29:11 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B31C106566C; Mon, 8 Nov 2010 15:29:11 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4D68FC18; Mon, 8 Nov 2010 15:29:10 +0000 (UTC) Received: by pzk12 with SMTP id 12so437004pzk.13 for ; Mon, 08 Nov 2010 07:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=rYmgPQS2EXgeBYxtrofZIzZkdPKATIa4SCiEhDI8wuU=; b=D+xoy9r5b2bQY2gvqrG/XDCaKjj3BPMh9pQbHUhfjxMeur4oj861hLBR0ep/xVQw5p CiRK/ipzX3o8hjnwFyOwsdj2YronuA+P3PRTMxOOeR6EMCHF7hFW58b0pmnRIF4WOsas Kbnnm+dazRAGJ0X+HwKdKgVBCHSRkg7IPR3eo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=Ft2W1uvTBhJrM8vr3z79spSP8jR/SdyuMc/kMO/3b2OQMHoVY6q1SWnW5hQj5rVuqN Vb4pfLuDcWIp0zgsiEi9QYelAB6cg7tIDHCFtAvpwnm7qVPv1SUXifcjvxa2cJC4L5pl wMAFhwPhfoEfPKfeEvxHRX4+X5qwW7ZRmxC5Y= Received: by 10.229.212.5 with SMTP id gq5mr5139312qcb.275.1289230150158; Mon, 08 Nov 2010 07:29:10 -0800 (PST) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.40.145 with HTTP; Mon, 8 Nov 2010 07:28:29 -0800 (PST) In-Reply-To: <20101108151028.GI2392@deviant.kiev.zoral.com.ua> References: <201011081004.59640.jhb@freebsd.org> <20101108151028.GI2392@deviant.kiev.zoral.com.ua> From: Ivan Voras Date: Mon, 8 Nov 2010 16:28:29 +0100 X-Google-Sender-Auth: ItHWOQKCrhtLyU7It-eoPpq9uN4 Message-ID: To: Kostik Belousov Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org Subject: Re: The state of Giant lock in the file systems? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 15:29:11 -0000 On 8 November 2010 16:10, Kostik Belousov wrote: > I already claimed several times that I will remove VFS_LOCK_GIANT > after smbfs is locked. Patch for removal is sitting in my repository > for almost a year. Ok, I've made a little table here: http://wiki.freebsd.org/MPSAFE_VFS Just to get my understanding clear on this: in the case of VFS, Giant protects / prevents concurrent execution of all vfsops or something more / something other than that?