Re: FSCache: Cookie create and destroy semantics on file open

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

 



Can you share those patches? I'd like to know what the approach you've
taken since I'm trying to figure out how to solve it for Ceph.

- M

On Aug 7, 2013, at 2:04 AM, David Howells <dhowells@xxxxxxxxxx> wrote:

> Milosz Tanski <milosz@xxxxxxxxx> wrote:
>
>> I have a question for you about how added / removing the cookie for a
>> NFS inode works. Right the cache entry gets added when the file is
>> open. It gets revoked when the file re-opened in write mode. What
>> happens in this case.
>>
>> Open for read (create cookie) -> Open for write (destroy cookie) ->
>> Open for read (create cookie again)
>>
>> In this case, none of the 3 files were closed.
>
> No.  The way NFS is doing this is wrong.  I have been given some patches that
> should fix this, I think.
>
> David
--
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