Re: "Appending" data to the middle of a file using btrfs-specific features

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrey Kuzmin
Date: Tuesday, December 7, 2010 - 12:50 am

On Mon, Dec 6, 2010 at 7:05 PM, Chris Mason <chris.mason@oracle.com> wrote:

Tis doesn't seem to be interesting, looking just like traditional COW overwrite.


Not sure how btrfs implements versioned B-trees, but other
snapshot-capable file-systems I'm aware of utilize DITTO B-tree entry
that says "for tis range, consult previous version tree". One can
imagine DITTO(n) extension that would tell "subtract n from look-up
key and then consult previous version tree", effectively achieving
range shift behavior. FWIW.

Regards,
Andrey


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: "Appending" data to the middle of a file using btrfs-s ..., Andrey Kuzmin, (Tue Dec 7, 12:50 am)