lkml.org 
[lkml]   [2007]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2007-06-13 18:43    [W:3.596 / U:0.364 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site