lkml.org 
[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] VFS: FS CoW using redirection
Date
Eric Van Hensbergen wrote:
> On 7/8/06, Al Boldi <a1426z@gawab.com> wrote:
> > Copy on Write is a neat way to quickly achieve a semi-clustered system,
> > by mounting any shared FS read-only and redirecting writes to some
> > perClient FS.
> >
> > Would this redirection be easy to implement into the VFS?
>
> There are a variety of solutions that have been proposed or are
> available to do this sort of thing. You may want to start by looking
> at unionfs and mapfs. There are also folks looking at doing this from
> the block layer (look at the dm-userspace + cowd as well as evms and
> lvm snapshots).

The idea here, is to do things completely transparent while being as
unintrusive as possible, by relying on the current FS infrastructure, w/o
introducing another VFS.

Consider something simple like this:

VFS - anyFS1 (r/w) used normally, unless ENotFound, then redirect read to
\ anyFS2, or CoW from anyFS2 to anyFS1.
anyFS2 (r/o) used normally.

i.e: Does the VFS provide hooks for perMount Handlers?


Thanks!

--
Al

-
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: 2006-07-09 14:53    [W:0.099 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site