Re: [fuse-devel] delta filesystem prototype

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

 



hooanon05@xxxxxxxxxxx writes:

> Goswin von Brederlow:
>> As I said, keep the FDs open. In case of the split meta/files dirs you
>> would have orig_fd, meta_fd and delta_fd. And make read/write operate
>
> So your approach is that the files under meta/ and delta/ will be
> created and opened in open(2) to deltafs...
> While I am afraid it is not effective, I think I could understand your
> approach.
>
>
> J. R. Okajima

At a minimum I would open the file on the read-only branch unless the
file is already changed. You can create the meta/ and files/ FDs as
needed in any callback that modifies them. If the file is deleted at
that point you can create a dummy file and delete it while keeping the
FD. Just always creating the meta/ and files/ entries when a file is
opened for write seems simpler though and you need them anyway when
the first write call comes. If you track atime then you even need the
meta/ all the time.

But that is really justan implementation detail. It is how i would do it.

MfG
        Goswin
--
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