From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Kenneth Casson Leighton Subject: double or triple access to ext2, ext3 or other partitions Date: Tue, 23 Nov 2004 17:13:12 +0000 Message-ID: <20041123171312.GC6250@lkcl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sf.net List-Id: xen-devel@lists.xenproject.org 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 lines: 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. l. -- -- http://lkcl.net -- ------------------------------------------------------- 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. http://productguide.itmanagersjournal.com/