Re: [PATCH] s390: Hypervisor File System

From: Jörn Engel
Date: Wed May 03 2006 - 06:12:51 EST


On Wed, 3 May 2006 11:33:01 +0200, Michael Holzheu wrote:
>
> All the complicated mechanisms with filesystem trees
> to obtain consistent data and transaction functionality
> could be avoided, if we would use single files, which
> contain all the data. When opening the file, the snapshot
> is created and attached to the struct file.

s/single file/single entity/ and this may be useful. Your filesystem
exports a directory tree, which is nice and easily parsable. The
problem is that it is a single resource for everyone. If different
users could have their own views of this filesystem, each with a
private snapshot, many problems would be solved.

Spufs might have something similar already. Istr something about
returning a directory fd and then using openat(2) and friends.

Jörn

--
To my face you have the audacity to advise me to become a thief - the worst
kind of thief that is conceivable, a thief of spiritual things, a thief of
ideas! It is insufferable, intolerable!
-- M. Binet in Scarabouche
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/