Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758005AbaD2PMU (ORCPT ); Tue, 29 Apr 2014 11:12:20 -0400 Received: from elasmtp-junco.atl.sa.earthlink.net ([209.86.89.63]:49907 "EHLO elasmtp-junco.atl.sa.earthlink.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757679AbaD2PMS (ORCPT ); Tue, 29 Apr 2014 11:12:18 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=Llqd0bt7gh5pZ7dy45JFwAO4BpplYAOonPD0j44r12Z4z0puyM7jtrsz4Zq2N7Ah; h=Received:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language:X-Antivirus-Status:X-ELNK-Trace:X-Originating-IP; From: "Frank Filz" To: "'Jeff Layton'" , "'Matt W. Benjamin'" Cc: "'Ganesha NFS List'" , "'lkml'" , "'Linux-Fsdevel'" , "'Trond Myklebust'" , "'J. Bruce Fields'" , "'Neil Brown'" , , , "'Michael Kerrisk \(man-pages\)'" References: <20140429071153.176c7404@tlielax.poochiereds.net> <1482413734.4.1398771608019.JavaMail.root@thunderbeast.private.linuxbox.com> <20140429075046.39fc9c3f@tlielax.poochiereds.net> In-Reply-To: <20140429075046.39fc9c3f@tlielax.poochiereds.net> Subject: RE: OFD ("file private") locks and NFS Date: Tue, 29 Apr 2014 08:11:27 -0700 Message-ID: <030601cf63bd$4c635220$e529f660$@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJzfP5/iM0jCBuWFfdc+nT3hcVD3QGhoVKAASOVvQCZylYKUA== Content-Language: en-us X-Antivirus: avast! (VPS 140428-1, 04/28/2014), Outbound message X-Antivirus-Status: Clean X-ELNK-Trace: 136157f01908a8929c7f779228e2f6aeda0071232e20db4db240052a7283bb9188b66d86525844a0350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.236.153.111 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, 29 Apr 2014 07:40:08 -0400 (EDT) "Matt W. Benjamin" > wrote: > > > Hi Jeff, > > > > Something which came up on the last Ganesha conn call is that we have > > a pretty strong need for some ability to wait on a set of locks, and > > perhaps receive events. Frank Filz believed that you had made a > > proposal which would cover this. Can you elaborate on that? > > > > Thanks, > > > > Matt > > > > No, there's no mechanism to wait on a set of locks from within the context of > a single thread of execution or to receive "events". Again, that would be a > new API beyond what I've been proposing over the last several months. Some kind of facility to enable one user space thread to wait on multiple blocked locks would definitely be helpful to user space servers. Our current plan is to have a pool of threads, and dispatch blocking locks to them. If that pool is exhausted, all further locks would be dispatched to a single thread that would poll for locks. Frank -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/