Skip to contentSkip to conversation

loadable objectstore

DISCUSSION Matt W. Benjamin 4 participants 11 messages Apr 10, 2015 – Jun 22, 2015

lore
Share & tools
lore
#0 lore raw

Hi Varada,

I pushed branch hammer-osfactory to https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

Signature · 10 lines
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
#1 lore raw
Quoted 6 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 25 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

Signature · 14 lines
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.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

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

#3 lore raw
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 59 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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

#4 lore raw

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

Cheers

Quoted 85 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 49 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

Quoted 10 lines

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#5 lore raw
Quoted 3 lines · Loic Dachary

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

whoops pushed! :)

sage

Quoted 94 lines

Cheers

Quoted 85 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 49 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

Quoted 10 lines

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#6 lore raw

Thanks Sage and Loic. Will add the missing pieces and integrate the object factory and plugin changes.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 9:19 PM
To: Loic Dachary
Cc: Varada Kari; Matt W. Benjamin; ceph-devel
Subject: Re: loadable objectstore

Quoted 4 lines · Loic Dachary

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

whoops pushed! :)

sage

Quoted 84 lines

Cheers

Quoted 80 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 59 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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 10 lines
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

--
Loïc Dachary, Artisan Logiciel Libre

--
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

#7 lore raw

Hi Varada,

Any progress on this?

Thanks!
sage

Quoted 121 lines · Varada Kari

Thanks Sage and Loic. Will add the missing pieces and integrate the object factory and plugin changes.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 9:19 PM
To: Loic Dachary
Cc: Varada Kari; Matt W. Benjamin; ceph-devel
Subject: Re: loadable objectstore

Quoted 4 lines · Loic Dachary

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

whoops pushed! :)

sage

Quoted 84 lines

Cheers

Quoted 80 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 59 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 16 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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 10 lines
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

--
Loïc Dachary, Artisan Logiciel Libre

--
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

#8 lore raw

Hi Sage,

Sorry for the delay. Just started working on this. Will send some update soon. Been busy with other tasks.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Tuesday, May 12, 2015 5:11 AM
To: Varada Kari
Cc: Loic Dachary; Matt W. Benjamin; ceph-devel
Subject: RE: loadable objectstore

Hi Varada,

Any progress on this?

Thanks!
sage

Quoted 111 lines · Varada Kari

Thanks Sage and Loic. Will add the missing pieces and integrate the object factory and plugin changes.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 9:19 PM
To: Loic Dachary
Cc: Varada Kari; Matt W. Benjamin; ceph-devel
Subject: Re: loadable objectstore

Quoted 4 lines · Loic Dachary

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

whoops pushed! :)

sage

Quoted 90 lines

Cheers

Quoted 85 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 50 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 15 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

Quoted 9 lines

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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

Quoted 10 lines
Quoted 4 lines

--
Loïc Dachary, Artisan Logiciel Libre

--
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

#9 lore raw
In reply to Sage Weil

Hi Sage,

Please find the initial implementation of objects store factory (initial cut) at https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8
This is still work in progress branch. Right now I am facing Lttng issues,
LTTng-UST: Error (-17) while registering tracepoint probe. Duplicate registration of tracepoint probes having the same name is not allowed.

Might be an issue with libcommon inclusion. Trying resolving the issue now. Seems I need to make libcommon also as a shared object to avoid the duplicates, static linking is a problem here. Any suggestions or comments on this problem?

I have commented out test binary (ceph_test_keyvaluedb_atomicity) compilation, due to unresolved symbols for g_ceph_context and g_conf. Not able to fix/workaround the problem so far.

Can you please review if this is what in your mind for the factory implementation?

We can extend this implementation to messenger and different backend of the OSD. Will make those incremental once the base framework is approved.

Thanks,
Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Tuesday, May 12, 2015 5:11 AM
To: Varada Kari
Cc: Loic Dachary; Matt W. Benjamin; ceph-devel
Subject: RE: loadable objectstore

Hi Varada,

Any progress on this?

Thanks!
sage

Quoted 111 lines · Varada Kari

Thanks Sage and Loic. Will add the missing pieces and integrate the object factory and plugin changes.

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 9:19 PM
To: Loic Dachary
Cc: Varada Kari; Matt W. Benjamin; ceph-devel
Subject: Re: loadable objectstore

Quoted 4 lines · Loic Dachary

Hi Sage,

It looks like common/PluginRegistry.{h,cc} are missing from 18ad8df1094db52c839dc6b2dc689fc882230acb

whoops pushed! :)

sage

Quoted 90 lines

Cheers

Quoted 85 lines · Sage Weil
Quoted 4 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what sage was mentioning in the comments along with the items in the tracker.

I pushed a wip-plugin branch with the pattern I had in mind... does this make sense? It's only compile tested, and still needs preload() methods implemented so that long-running daemons (or perhaps others?) can preload it all at once.

Ideally we would replace ErasurePluginRegistry with this too, which means the naming of the .so's needs to be a bit more flexible as the EC plugin scheme is something like /usr/lib/ceph/erasure-code/libec_$name.so (not a strict function of type and name). Or actually, we can just rename the EC .so's when this goes in? Since they're explicitly incompatible between versions there is no reason the names need to remain consistent...

sage

Quoted 50 lines

Varada

-----Original Message-----
From: Sage Weil [mailto:[email protected]]
Sent: Saturday, April 11, 2015 4:16 AM
To: Matt W. Benjamin
Cc: Varada Kari; ceph-devel
Subject: Re: loadable objectstore

Quoted 7 lines · Matt W. Benjamin

Hi Varada,

I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.git

It can at least provide a starting point for discussion, if not a jumping off point; I do think it's basically what Sage described.

I made a few comments on the pull request. I think a factory class is the way to go, but we should be able to make the plugin loading part generic and not interface specific at all...

sage

Quoted 15 lines

I was able to update the CMake build system to build the tree, I haven't attempted Autotools. :(

Regards,

Matt

--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103

http://cohortfs.com

Quoted 9 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

________________________________

Quoted 9 lines

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

--
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

Quoted 10 lines
Quoted 4 lines

--
Loïc Dachary, Artisan Logiciel Libre

--
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

#10 lore raw
In reply to Sage Weil

Seems good to me.

Quoted 7 lines · ----- "Sage Weil
Quoted 3 lines · Varada Kari

Hi Matt/ Sage,

Thanks for sharing the pull request. Will work on the items what

sage

Quoted 1 line

was mentioning in the comments along with the items in the tracker.

Quoted 8 lines

I pushed a wip-plugin branch with the pattern I had in mind... does this
make sense? It's only compile tested, and still needs preload() methods
implemented so that long-running daemons (or perhaps others?) can preload
it all at once.

Matt

Signature · 10 lines
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://cohortfs.com

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