OpenVZ Forum


Home » Mailing lists » Devel » Introduce new filesystem inside VE
Introduce new filesystem inside VE [message #14352] Mon, 25 June 2007 13:16 Go to next message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
Hi all,

I hope that you can help me. I modified the spufs sources so that is
possible to mount multiple independant instances of it. Unlike to procfs it
would make sense now to mount spufs inside a VE. But to achieve that the
spufs must be known inside the VE - entry in /proc/filesystems at least. So
my question is: How can I achieve that the spufs is known in the VE. Will
it then automatically be mountable like in host (VE0) system or are there
more modifications to do?

Mit freundlichen Grüßen / Best Regards
Christian Kaiser
--
IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@de.ibm.com

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Re: Introduce new filesystem inside VE [message #14367 is a reply to message #14352] Tue, 26 June 2007 08:18 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

filesystem_type has have FS_VIRTUALIZED flag to allow
file system to be mountable from inside VE.

However, make sure that code in spufs doesn't have global
variables or at least uses them in a safe manner.
(e.g. it is safe to have global lock for all VEs,
but may be unsafe to have global list of some kind of objects).

Thanks,
Kirill

Christian Kaiser2 wrote:
> Hi all,
>
> I hope that you can help me. I modified the spufs sources so that is
> possible to mount multiple independant instances of it. Unlike to procfs it
> would make sense now to mount spufs inside a VE. But to achieve that the
> spufs must be known inside the VE - entry in /proc/filesystems at least. So
> my question is: How can I achieve that the spufs is known in the VE. Will
> it then automatically be mountable like in host (VE0) system or are there
> more modifications to do?
>
> Mit freundlichen Grüßen / Best Regards
> Christian Kaiser
> --
> IBM Deutschland Entwicklung GmbH
> Open Systems Firmware Development
> mail: ckaiser2@de.ibm.com
>
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Herbert Kircher
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
>
Re: Introduce new filesystem inside VE [message #14374 is a reply to message #14367] Tue, 26 June 2007 14:10 Go to previous message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
Works great! Thank you!

Kirill Korotaev <dev@sw.ru> wrote on 06/26/2007 10:18:40 AM:

> filesystem_type has have FS_VIRTUALIZED flag to allow
> file system to be mountable from inside VE.
>
> However, make sure that code in spufs doesn't have global
> variables or at least uses them in a safe manner.
> (e.g. it is safe to have global lock for all VEs,
> but may be unsafe to have global list of some kind of objects).
>
> Thanks,
> Kirill
>
> Christian Kaiser2 wrote:
> > Hi all,
> >
> > I hope that you can help me. I modified the spufs sources so that is
> > possible to mount multiple independant instances of it. Unlike to
procfs it
> > would make sense now to mount spufs inside a VE. But to achieve that
the
> > spufs must be known inside the VE - entry in /proc/filesystems at
least. So
> > my question is: How can I achieve that the spufs is known in the VE.
Will
> > it then automatically be mountable like in host (VE0) system or are
there
> > more modifications to do?
> >

Mit freundlichen Grüßen / Best Regards
Christian Kaiser
--
IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@de.ibm.com

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Previous Topic: [PATCH 0/2] Add group awareness to CFS - v2
Next Topic: sysfs entries inside VE
Goto Forum:
  


Current Time: Sun Aug 04 21:13:52 GMT 2024

Total time taken to generate the page: 0.03101 seconds