This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] double or triple access to ext2, ext3 or other partitions

To: xen-devel@xxxxxxxxxxxx
Subject: [Xen-devel] double or triple access to ext2, ext3 or other partitions
From: Luke Kenneth Casson Leighton <lkcl@xxxxxxxx>
Date: Tue, 23 Nov 2004 17:13:12 +0000
Delivery-date: Tue, 23 Nov 2004 17:04:17 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/
dear xen developers,

how feasible would it be, in your opinions, to add in code into the
linux kernel / xen infrastructure, around the ext2 and ext3 filesystem
drivers, that meant, ultimately, that you could have TWO OR MORE
separate linux xen guest OSes mounting the SAME partition?

muhahahahah  oo sorry.

i would envisage this as being implemented somewhere along the following

1) provide some mutex semaphore system in the xen infrastructure which
one or more linux xen guest OS could "register" with and use

2) at every point in the ext2 and ext3 filesystem drivers where
SMP-driven locking is performed, add in xen-semaphore usage and locking
(as well / instead).

presumably, the issue of locking an ext2, ext3 or other
filesystem already covers the issue of SMP-based locking,
therefore i imagine it wouldn't be too hard to utilise that
opportunity to put in "alternative" locking.


<a href="http://lkcl.net";>http://lkcl.net</a>

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>