Skip to contentSkip to conversation

emperor leftovers

DISCUSSION Cesar Mello 3 participants 3 messages Nov 8, 2013 – Nov 26, 2013

lore
Share & tools
lore
#0 lore raw

Yes MSVC and straight win32 is the rock solid way to go. That's where I would put my late night effort to help.

Best regards
Mello

Enviado pelo meu Windows Phone De: Matt W. Benjamin Enviada em: 07/11/2013 23:34
Para: Noah Watkins
Cc: Patrick McGarry; Ceph Devel; Noah Watkins; Sage Weil; Cesar Mello
Assunto: Re: emperor leftovers
Or, MSVC, frankly.

Quoted 42 lines · ----- "Matt W. Benjamin

Yes. But you may wish to think about mingwXX porting rather than Cygwin,
if you prefer native results.

Matt

Quoted 3 lines · ----- "Noah Watkins
Quoted 1 line · Sage Weil

curious if the discussion on windows portability is relevant here

or

Quoted 5 lines

if

Quoted 1 line

it's better treated as a separate but related effort.

The kernel space talk that's been tossed around probably isn't relevant, but I'd be nice to learn about cygwin porting if anyone

has

Quoted 3 lines

knowledge in this area.
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel"

Quoted 3 lines

in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 10 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
#1 lore raw
Quoted 2 lines · Cesar Mello

Yes MSVC and straight win32 is the rock solid way to go. That's where I would put my late night effort to help.

Me too. I think the main primitives (mutex, cond, thread) are already well abstracted, so hopefully this is a matter of providing win32 (is it really still called that??) implementations and adding new wrappers for other components as needed.

sage

Quoted 73 lines

Best regards
Mello

Enviado pelo meu Windows Phone De: Matt W. Benjamin Enviada em: 07/11/2013 23:34
Para: Noah Watkins
Cc: Patrick McGarry; Ceph Devel; Noah Watkins; Sage Weil; Cesar Mello
Assunto: Re: emperor leftovers
Or, MSVC, frankly.

Quoted 42 lines · ----- "Matt W. Benjamin

Yes. But you may wish to think about mingwXX porting rather than Cygwin,
if you prefer native results.

Matt

Quoted 3 lines · ----- "Noah Watkins
Quoted 1 line · Sage Weil

curious if the discussion on windows portability is relevant here

or

Quoted 5 lines

if

Quoted 1 line

it's better treated as a separate but related effort.

The kernel space talk that's been tossed around probably isn't relevant, but I'd be nice to learn about cygwin porting if anyone

has

Quoted 3 lines

knowledge in this area.
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel"

Quoted 3 lines

in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 14 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

I started reading the libcepfs related code. and it is still a hudge task. Cygwin seems to me to be the more complete set of ported gnu libraries to win32.

MSVC is not the tool I will use for the port ... since your work is slown and hidden most of the time below a tons of click to do thingies...

Code:block /mingWin or cygwin seems to me the more producing perspective. first it is closer to tools used by linux developers.

A full porting to Win32 meas you will have to write ceph code in microsoft compilers C++ or .NET
ways, then you will have to write a port in the same way for each side libraries that ceph use
and that doesn t exists on MS windows visual studio stuffs...
I m not talking about adapting cout << "you're a coder be happy"; but rather adapting pthread lib which is everywhere in ceph code. that can be done... but if it is already done why not using it ?

But truelly the biggest problem in ceph world is that we have two concurent ways to access the data on ceph. As far as I understand rbd and cephfs are not compatible you can t see what the other did.

We have Rbd and ceph-fs/ceph-fuse so who use what? for what purpose? with what results? From that depends what a client port to windows will be.
Can we port everything ceph is on windows? well ceph is a hudge project. just a quick isolation of files related to libcephfs.cc shows a 400+ files. Now I try to see if all those files are needed and if that number can be reduced.

Regards

signature

*Alphé Salas*
Ingeniero T.I

Quoted 79 lines · Sage Weil
Quoted 2 lines · Cesar Mello

Yes MSVC and straight win32 is the rock solid way to go. That's where I would put my late night effort to help.

Me too. I think the main primitives (mutex, cond, thread) are already well abstracted, so hopefully this is a matter of providing win32 (is it really still called that??) implementations and adding new wrappers for other components as needed.

sage

Quoted 44 lines

Best regards
Mello

Enviado pelo meu Windows Phone De: Matt W. Benjamin Enviada em: 07/11/2013 23:34
Para: Noah Watkins
Cc: Patrick McGarry; Ceph Devel; Noah Watkins; Sage Weil; Cesar Mello
Assunto: Re: emperor leftovers
Or, MSVC, frankly.

Quoted 32 lines · ----- "Matt W. Benjamin

Yes. But you may wish to think about mingwXX porting rather than Cygwin,
if you prefer native results.

Matt

Quoted 3 lines · ----- "Noah Watkins
Quoted 1 line · Sage Weil

curious if the discussion on windows portability is relevant here

or

Quoted 4 lines

if

Quoted 1 line

it's better treated as a separate but related effort.

The kernel space talk that's been tossed around probably isn't relevant, but I'd be nice to learn about cygwin porting if anyone

has

Quoted 3 lines

knowledge in this area.
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel"

Quoted 3 lines

in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

Quoted 25 lines
Quoted 8 lines
tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 14 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html