From: Steve French <smfrench@gmail.com>
To: Steve French <smfrench@gmail.com>,
samba-technical <samba-technical@lists.samba.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: copy-on-write files
Date: Mon, 11 May 2009 13:25:23 -0500 [thread overview]
Message-ID: <524f69650905111125n23c5624fh27b4612e1076e3ca@mail.gmail.com> (raw)
In-Reply-To: <20090511175327.GA30293@mail.oracle.com>
On Mon, May 11, 2009 at 12:53 PM, Joel Becker <Joel.Becker@oracle.com> wrote:
> On Mon, May 11, 2009 at 12:08:17PM -0500, Steve French wrote:
>> Joel,
>> Looking at your documentation for the new "reflink" syscall (to create
>> copy-on-write files):
>> http://git.kernel.org/?p=linux/kernel/git/jlbec/ocfs2.git;a=blob;f=Documentation/filesystems/reflink.txt;h=58a6b3879114c0cb591fb736152b30291037edd2;hb=c04db1c934e67337318b177688c0b882297fdd66
>>
>> Have you looked at whether this is close enough to the existing (e.g.
>> Windows NTFS) copy-on-write syntax/feature so that we could use it
>> under Samba (and on the client side from cifs and in the future smb2).
>> Windows added copy-on-write about 9 or 10 years ago and uses it
>> extensively. although I have not researched enough to see what
>> creating these would look like over the network.
>
> I didn't know NTFS had it
There are lots of references to the various services that use copy on write
(e.g. the "Groveler" service, which I first noticed back in Windows 2000
copy-on-write linking remote windows install images, which can be quite big,
apparently saving enormous amounts of disk space, and also the "SIS" or
"Single Instance Store" service which is an optional component of Windows
servers, and I saw a reference to Vista using the same NTFS
copy-on-write feature
for some form of backup/snapshot) but this would be a better question
for a Windows programmer not a Linux kernel developer :)
copy-on-write links seem to be represented as "reparse points" (a type of
Windows inode) with a tag "IO_REPARSE_TAG_SIS" (to distinguish it
from other special purpose inodes such as symlinks, DFS referrals and junctions)
http://msdn.microsoft.com/en-us/library/aa365511(VS.85).aspx
Apparently they can be sent over the network based on section 2.4.35 of
http://msdn.microsoft.com/en-us/library/cc232086(PROT.13).aspx
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-05-11 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-11 17:08 copy-on-write files Steve French
2009-05-11 17:53 ` Joel Becker
2009-05-11 18:25 ` Steve French [this message]
2009-05-26 19:57 ` Danilo Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524f69650905111125n23c5624fh27b4612e1076e3ca@mail.gmail.com \
--to=smfrench@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=samba-technical@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).