Messages in this thread | | | Date | Wed, 13 Jun 2007 12:34:05 -0400 | From | Chris Mason <> | Subject | Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS |
| |
On Wed, Jun 13, 2007 at 12:12:23PM -0400, John Stoffel wrote: > >>>>> "Chris" == Chris Mason <chris.mason@oracle.com> writes:
[ nod ]
> Also, I think you're wrong here when you state that making a snapshot > (sub-volume?) RO just requires you to set the quota to 1 block. What > is to stop me from writing 1 block to a random file that already > exists?
It's copy on write, so changing one block means allocating a new one and putting the new contents there. The old blocks don't become available for reuse until the transaction commits.
-chris
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |