Re: Adding snapshot capability to Linux

From: Libor Vanek (lists@conet.cz)
Date: Tue Apr 23 2002 - 13:48:00 EST


Alexander Viro wrote:

>You _can't_ get consistent snapshots without cooperation from fs. LVM,
>EVMS, whatever. Only filesystem knows what IO needs to be pushed to
>make what we have on device consistent and what IO needs to be held
>back. Neither VFS nor device driver do not and can not have such
>knowledge - it depends both on fs layout and on implementation details.
>

My idea was to "catch" functions for writing to fs (file/metadata) and
hold them till I copy file/metadata to snapshot. I thought that when
done in the correct place this could work with virtualy any "normal" fs...

Libor

-
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/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:36 EST