From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Allison Subject: Re: [PATCH 02/18] xstat: Add a pair of system calls to make extended file stats available [ver #6] Date: Thu, 22 Jul 2010 11:07:51 -0700 Message-ID: <20100722180751.GC32008@samba1> References: <30448.1279800887@redhat.com> <20100722162712.GB10352@jeremy-laptop> <1279817930.3621.14.camel@heimdal.trondhjem.org> <20100722180204.GA32008@samba1> Reply-To: Jeremy Allison Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jeremy Allison , Trond Myklebust , Linus Torvalds , David Howells , Jan Engelhardt , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Volker Lendecke Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jul 22, 2010 at 08:04:41PM +0200, Volker Lendecke wrote: > On Thu, Jul 22, 2010 at 11:02:04AM -0700, Jeremy Allison wrote: > > On Thu, Jul 22, 2010 at 12:58:50PM -0400, Trond Myklebust wrote: > > > > > > That would make it impossible to export the filesystem with NFSv2 and > > > v3. They do rely on ctime checking for certain operations (e.g. deciding > > > when to invalidate access and acl caches). NFSv4 needs this too if the > > > filesystem has no dedicated change attribute. > > > > > > Still, I suppose the market for exporting the same filesystem with both > > > NFS and Samba is limited... > > > > Ask NetApp about that :-). They have built a rather large > > business on just that fact :-). > > Jeremy, how many hours have you spent getting "posix > locking" to the point where it is now? :-) > > Volker > > P.S: For those not aware, "posix locking = yes" is > cross-protocol byte range locking done by smbd to co-operate > with local processes and NFS. The time is counted in years, not hours :-).