Re: Considering remove spinlock around f_op->setlease()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I don't quite understand, but typically, I don't give shit to
anything other than toilet.

Before join GPFS, I had some experience with other distributed
filesystems. I believe NFSv4 (with callback support), CIFS and other
distributed filesystems have the ability to support leasing, but look
at current cifs code (cifs_setlease() in fs/cifs/cifsfs.c). To avoid
sleeping, it actually only works if everything is cached (with oplock
acquired). I don't think this really helps because the application
will be so easy to get -EAGAIN to do anything.

So I think, generally, to make distributed filesystem provide a real
working leasing mechanism, we might still need to think about changing
this lock.

On Fri, Aug 16, 2013 at 8:17 PM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Fri, Aug 16, 2013 at 12:41:14AM +0800, Feng Shuo wrote:
>> much easier. Especially, if there
>> Copy to Jeff and Arnd who were working on that lock. Also Miklos, yes,
>> it's still me, the one was
>> worked on fuse adaptive readdir_plus....now I'm working for GPFS....
>
> People will start giving a shit once your filesystem in the Linux source
> tree.  People that violate our license are generally not overly liked.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux