Re: [question] "copy-on-write" in ext4

From: Theodore Tso
Date: Sat Sep 27 2008 - 22:18:04 EST


On Sun, Sep 28, 2008 at 03:08:25AM +0400, Ivan Zorin wrote:
> Hello, everybody. I have a question to ext4 filesystem developers. Could
> you tell me please, have you planned to implement (no matter, how soon)
> in ext4 some "copy-on-write" feature? If you have, then how it will be
> looks like (and how soon :-) ?
> If you haven't, then did you think about ability to implement such
> feature and how it could be?

What do you mean by "copy on write", precisely? Do you mean at the
file level, directory level, or the filesystem level?

We don't have any plans to implement "copy on write" in ext4, although
you can create a copy-on-write snapshot at the block device level
using LVM/devicemapper. For many things (database backups, etc.) this
is quite suitable.

So why don't you tell us what you are trying to do, and we can suggest
to you ways that you might be able to do it.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/