From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: file leases Date: Mon, 20 Sep 2004 21:27:33 +0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20040920202733.GF28786@mail.shareable.org> References: <20040920202157.08C591BBA4@citi.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from mail.shareable.org ([81.29.64.88]:41172 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S267314AbUITU1j (ORCPT ); Mon, 20 Sep 2004 16:27:39 -0400 To: "William A.(Andy) Adamson" Content-Disposition: inline In-Reply-To: <20040920202157.08C591BBA4@citi.umich.edu> List-Id: linux-fsdevel.vger.kernel.org William A.(Andy) Adamson wrote: > The version 4 nfsd delegation implementation uses leases to co-ordinate > behavior between local, samba, and nfs access. Are they working properly? When I share a directory using Samba 3.0.6, sometimes local access to a file stalls for a while - on the order of 10 seconds to open a file. It is very annoying, and I had to turn off oplocks in order to reasonably edit files in a shared directory. I presume Samba implements oplocks using leases, and that is the cause of local access stalling. I wonder if leases aren't working as they should be, or if Samba isn't using them properly. -- Jamie