loadable objectstore
A message that is not in the archive (sent off-list or not yet received): 1615100301.29.1434984131967.JavaMail.root@thunderbeast.private.linuxbox.com
Hi,
It's just aesthetic, but it feels clunky to change the names
of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 199 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
Signature · 12 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
SGkgTWF0dCwNCg0KTWFqb3JpdHkgb2YgdGhlIGNoYW5nZXMgYXJlIHNlZ3JlZ2F0aW5nIHRoZSBm aWxlcyB0byBjb3JyZXNwb25kaW5nIHNoYXJlZCBvYmplY3QgYW5kIGNyZWF0aW5nIGEgZmFjdG9y eSBvYmplY3QuIEFuZCB0aGUgbmFtaW5nIGlzIG1vc3RseSB0YWtlbiBmcm9tIEVyYXN1cmUtY29k aW5nIHBsdWdpbnMuIFdhbnQgYSBnb29kIG5hbWluZyBjb252ZW50aW9uIDotKSwgaGVuY2UgYSBw cmVsaW1pbmFyeSByZXZpZXcuIERvIGFncmVlLCB3ZSBoYXZlIGxvdCBvZiBsb2FkYWJsZSBpbnRl cmZhY2VzLCBhbmQgSSB0aGluayB3ZSBhcmUgaW4gdGhlIHdheSBvZiBtYWtpbmcgdGhlbSBvbi1k ZW1hbmQgKGlmIHBvc3NpYmxlKSBsb2FkYWJsZSBtb2R1bGVzLg0KDQpWYXJhZGENCg0KLS0tLS1P cmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1hdHQgVy4gQmVuamFtaW4gW21haWx0bzptYXR0 QGNvaG9ydGZzLmNvbV0NClNlbnQ6IE1vbmRheSwgSnVuZSAyMiwgMjAxNSA4OjM3IFBNDQpUbzog VmFyYWRhIEthcmkNCkNjOiBMb2ljIERhY2hhcnk7IGNlcGgtZGV2ZWw7IFNhZ2UgV2VpbA0KU3Vi amVjdDogUmU6IGxvYWRhYmxlIG9iamVjdHN0b3JlDQoNCkhpLA0KDQpJdCdzIGp1c3QgYWVzdGhl dGljLCBidXQgaXQgZmVlbHMgY2x1bmt5IHRvIGNoYW5nZSB0aGUgbmFtZXMgb2Ygd2VsbCBrbm93 biBtb2R1bGVzIHRvIDxzb21ldGhpbmc+UGx1Z2luLS1lc3AuIGlmIHRoYXQgZ2VuZXJhbGl6ZXMg Zm9yd2FyZCB0byBuZXcgbG9hZGFibGUgbW9kdWxlcyAoYW5kIHdlIGhhdmUgYSBsb3Qgb2YgbG9h ZGFibGUgaW50ZXJmYWNlcykuDQoNCk1hdHQNCg0KLS0tLS0gIlZhcmFkYSBLYXJpIiA8VmFyYWRh LkthcmlAc2FuZGlzay5jb20+IHdyb3RlOg0KDQo+IEhpIFNhZ2UsDQo+DQo+IFBsZWFzZSBmaW5k IHRoZSBpbml0aWFsIGltcGxlbWVudGF0aW9uIG9mIG9iamVjdHMgc3RvcmUgZmFjdG9yeQ0KPiAo aW5pdGlhbCBjdXQpIGF0DQo+IGh0dHBzOi8vZ2l0aHViLmNvbS92YXJhZGFrYXJpL2NlcGgvY29t bWl0LzlkNWZlMmZlY2YzOGJhMTA2YzdjN2I3YTNlZGUNCj4gNGYxODllYzdlMWM4DQo+DQo+IFRo aXMgaXMgc3RpbGwgd29yayBpbiBwcm9ncmVzcyBicmFuY2guIFJpZ2h0IG5vdyBJIGFtIGZhY2lu ZyBMdHRuZw0KPiBpc3N1ZXMsDQo+IExUVG5nLVVTVDogRXJyb3IgKC0xNykgd2hpbGUgcmVnaXN0 ZXJpbmcgdHJhY2Vwb2ludCBwcm9iZS4gRHVwbGljYXRlDQo+IHJlZ2lzdHJhdGlvbiBvZiB0cmFj ZXBvaW50IHByb2JlcyBoYXZpbmcgdGhlIHNhbWUgbmFtZSBpcyBub3QgYWxsb3dlZC4NCj4NCj4g TWlnaHQgYmUgYW4gaXNzdWUgd2l0aCBsaWJjb21tb24gaW5jbHVzaW9uLiBUcnlpbmcgcmVzb2x2 aW5nIHRoZSBpc3N1ZQ0KPiBub3cuIFNlZW1zIEkgbmVlZCB0byBtYWtlIGxpYmNvbW1vbiBhbHNv IGFzIGEgc2hhcmVkIG9iamVjdCB0byBhdm9pZA0KPiB0aGUgZHVwbGljYXRlcywgc3RhdGljIGxp bmtpbmcgaXMgYSBwcm9ibGVtIGhlcmUuDQo+IEFueSBzdWdnZXN0aW9ucyBvciBjb21tZW50cyBv biB0aGlzIHByb2JsZW0/DQo+DQo+DQo+IEkgaGF2ZSBjb21tZW50ZWQgb3V0IHRlc3QgYmluYXJ5 IChjZXBoX3Rlc3Rfa2V5dmFsdWVkYl9hdG9taWNpdHkpDQo+IGNvbXBpbGF0aW9uLCBkdWUgdG8g dW5yZXNvbHZlZCBzeW1ib2xzIGZvciBnX2NlcGhfY29udGV4dCBhbmQgZ19jb25mLg0KPiBOb3Qg YWJsZSB0byBmaXgvd29ya2Fyb3VuZCB0aGUgcHJvYmxlbSBzbyBmYXIuDQo+DQo+IENhbiB5b3Ug cGxlYXNlIHJldmlldyBpZiB0aGlzIGlzIHdoYXQgaW4geW91ciBtaW5kIGZvciB0aGUgZmFjdG9y eQ0KPiBpbXBsZW1lbnRhdGlvbj8NCj4NCj4gV2UgY2FuIGV4dGVuZCB0aGlzIGltcGxlbWVudGF0 aW9uIHRvIG1lc3NlbmdlciBhbmQgZGlmZmVyZW50IGJhY2tlbmQNCj4gb2YgdGhlIE9TRC4gV2ls bCBtYWtlIHRob3NlIGluY3JlbWVudGFsIG9uY2UgdGhlIGJhc2UgZnJhbWV3b3JrIGlzDQo+IGFw cHJvdmVkLg0KPg0KPiBUaGFua3MsDQo+IFZhcmFkYQ0KPg0KPg0KPg0KPiAtLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTYWdlIFdlaWwgW21haWx0bzpzYWdlQG5ld2RyZWFtLm5l dF0NCj4gU2VudDogVHVlc2RheSwgTWF5IDEyLCAyMDE1IDU6MTEgQU0NCj4gVG86IFZhcmFkYSBL YXJpDQo+IENjOiBMb2ljIERhY2hhcnk7IE1hdHQgVy4gQmVuamFtaW47IGNlcGgtZGV2ZWwNCj4g U3ViamVjdDogUkU6IGxvYWRhYmxlIG9iamVjdHN0b3JlDQo+DQo+IEhpIFZhcmFkYSwNCj4NCj4g QW55IHByb2dyZXNzIG9uIHRoaXM/DQo+DQo+IFRoYW5rcyENCj4gc2FnZQ0KPg0KPiBPbiBTYXQs IDExIEFwciAyMDE1LCBWYXJhZGEgS2FyaSB3cm90ZToNCj4NCj4gPiBUaGFua3MgU2FnZSBhbmQg TG9pYy4gV2lsbCBhZGQgdGhlIG1pc3NpbmcgcGllY2VzIGFuZCBpbnRlZ3JhdGUgdGhlDQo+IG9i amVjdCBmYWN0b3J5IGFuZCBwbHVnaW4gY2hhbmdlcy4NCj4gPg0KPiA+IFZhcmFkYQ0KPiA+DQo+ ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBTYWdlIFdlaWwgW21haWx0 bzpzYWdlQG5ld2RyZWFtLm5ldF0NCj4gPiBTZW50OiBTYXR1cmRheSwgQXByaWwgMTEsIDIwMTUg OToxOSBQTQ0KPiA+IFRvOiBMb2ljIERhY2hhcnkNCj4gPiBDYzogVmFyYWRhIEthcmk7IE1hdHQg Vy4gQmVuamFtaW47IGNlcGgtZGV2ZWwNCj4gPiBTdWJqZWN0OiBSZTogbG9hZGFibGUgb2JqZWN0 c3RvcmUNCj4gPg0KPiA+IE9uIFNhdCwgMTEgQXByIDIwMTUsIExvaWMgRGFjaGFyeSB3cm90ZToN Cj4gPiA+IEhpIFNhZ2UsDQo+ID4gPg0KPiA+ID4gSXQgbG9va3MgbGlrZSBjb21tb24vUGx1Z2lu UmVnaXN0cnkue2gsY2N9IGFyZSBtaXNzaW5nIGZyb20NCj4gPiA+IDE4YWQ4ZGYxMDk0ZGI1MmM4 MzlkYzZiMmRjNjg5ZmM4ODIyMzBhY2INCj4gPg0KPiA+IHdob29wcyBwdXNoZWQhIDopDQo+ID4N Cj4gPiBzYWdlDQo+ID4NCj4gPiA+DQo+ID4gPiBDaGVlcnMNCj4gPiA+DQo+ID4gPiBPbiAxMS8w NC8yMDE1IDE2OjUxLCBTYWdlIFdlaWwgd3JvdGU6DQo+ID4gPiA+IE9uIFNhdCwgMTEgQXByIDIw MTUsIFZhcmFkYSBLYXJpIHdyb3RlOg0KPiA+ID4gPj4gSGkgTWF0dC8gU2FnZSwNCj4gPiA+ID4+ DQo+ID4gPiA+PiBUaGFua3MgZm9yIHNoYXJpbmcgdGhlIHB1bGwgcmVxdWVzdC4gV2lsbCB3b3Jr IG9uIHRoZSBpdGVtcw0KPiB3aGF0DQo+ID4gPiA+PiBzYWdlIHdhcyBtZW50aW9uaW5nIGluIHRo ZSBjb21tZW50cyBhbG9uZyB3aXRoIHRoZSBpdGVtcyBpbiB0aGUNCj4gdHJhY2tlci4NCj4gPiA+ ID4NCj4gPiA+ID4gSSBwdXNoZWQgYSB3aXAtcGx1Z2luIGJyYW5jaCB3aXRoIHRoZSBwYXR0ZXJu IEkgaGFkIGluIG1pbmQuLi4NCj4gPiA+ID4gZG9lcyB0aGlzIG1ha2Ugc2Vuc2U/ICBJdCdzIG9u bHkgY29tcGlsZSB0ZXN0ZWQsIGFuZCBzdGlsbA0KPiBuZWVkcw0KPiA+ID4gPiBwcmVsb2FkKCkg bWV0aG9kcyBpbXBsZW1lbnRlZCBzbyB0aGF0IGxvbmctcnVubmluZyBkYWVtb25zIChvcg0KPiA+ ID4gPiBwZXJoYXBzIG90aGVycz8pIGNhbiBwcmVsb2FkIGl0IGFsbCBhdCBvbmNlLg0KPiA+ID4g Pg0KPiA+ID4gPiBJZGVhbGx5IHdlIHdvdWxkIHJlcGxhY2UgRXJhc3VyZVBsdWdpblJlZ2lzdHJ5 IHdpdGggdGhpcyB0b28sDQo+ID4gPiA+IHdoaWNoIG1lYW5zIHRoZSBuYW1pbmcgb2YgdGhlIC5z bydzIG5lZWRzIHRvIGJlIGEgYml0IG1vcmUNCj4gPiA+ID4gZmxleGlibGUgYXMgdGhlIEVDIHBs dWdpbiBzY2hlbWUgaXMgc29tZXRoaW5nIGxpa2UNCj4gPiA+ID4gL3Vzci9saWIvY2VwaC9lcmFz dXJlLWNvZGUvbGliZWNfJG5hbWUuc28gKG5vdCBhIHN0cmljdCBmdW5jdGlvbg0KPg0KPiA+ID4g PiBvZiB0eXBlIGFuZCBuYW1lKS4gIE9yIGFjdHVhbGx5LCB3ZSBjYW4ganVzdCByZW5hbWUgdGhl IEVDIC5zbydzDQo+DQo+ID4gPiA+IHdoZW4gdGhpcyBnb2VzIGluPyAgU2luY2UgdGhleSdyZSBl eHBsaWNpdGx5IGluY29tcGF0aWJsZQ0KPiBiZXR3ZWVuDQo+ID4gPiA+IHZlcnNpb25zIHRoZXJl IGlzIG5vIHJlYXNvbiB0aGUgbmFtZXMgbmVlZCB0byByZW1haW4NCj4gY29uc2lzdGVudC4uLg0K PiA+ID4gPg0KPiA+ID4gPiBzYWdlDQo+ID4gPiA+DQo+ID4gPiA+Pg0KPiA+ID4gPj4gVmFyYWRh DQo+ID4gPiA+Pg0KPiA+ID4gPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiA+ID4+ IEZyb206IFNhZ2UgV2VpbCBbbWFpbHRvOnNhZ2VAbmV3ZHJlYW0ubmV0XQ0KPiA+ID4gPj4gU2Vu dDogU2F0dXJkYXksIEFwcmlsIDExLCAyMDE1IDQ6MTYgQU0NCj4gPiA+ID4+IFRvOiBNYXR0IFcu IEJlbmphbWluDQo+ID4gPiA+PiBDYzogVmFyYWRhIEthcmk7IGNlcGgtZGV2ZWwNCj4gPiA+ID4+ IFN1YmplY3Q6IFJlOiBsb2FkYWJsZSBvYmplY3RzdG9yZQ0KPiA+ID4gPj4NCj4gPiA+ID4+IE9u IEZyaSwgMTAgQXByIDIwMTUsIE1hdHQgVy4gQmVuamFtaW4gd3JvdGU6DQo+ID4gPiA+Pj4gSGkg VmFyYWRhLA0KPiA+ID4gPj4+DQo+ID4gPiA+Pj4gSSBwdXNoZWQgYnJhbmNoIGhhbW1lci1vc2Zh Y3RvcnkgdG8NCj4gPiA+ID4+PiBodHRwczovL2dpdGh1Yi5jb20vbGludXhib3gyL2NlcGguZ2l0 DQo+ID4gPiA+Pj4NCj4gPiA+ID4+PiBJdCBjYW4gYXQgbGVhc3QgcHJvdmlkZSBhIHN0YXJ0aW5n IHBvaW50IGZvciBkaXNjdXNzaW9uLCBpZg0KPiBub3QNCj4gPiA+ID4+PiBhIGp1bXBpbmcgb2Zm IHBvaW50OyAgSSBkbyB0aGluayBpdCdzIGJhc2ljYWxseSB3aGF0IFNhZ2UNCj4gZGVzY3JpYmVk Lg0KPiA+ID4gPj4NCj4gPiA+ID4+IEkgbWFkZSBhIGZldyBjb21tZW50cyBvbiB0aGUgcHVsbCBy ZXF1ZXN0LiAgSSB0aGluayBhIGZhY3RvcnkNCj4gY2xhc3MgaXMgdGhlIHdheSB0byBnbywgYnV0 IHdlIHNob3VsZCBiZSBhYmxlIHRvIG1ha2UgdGhlIHBsdWdpbg0KPiBsb2FkaW5nIHBhcnQgZ2Vu ZXJpYyBhbmQgbm90IGludGVyZmFjZSBzcGVjaWZpYyBhdCBhbGwuLi4NCj4gPiA+ID4+DQo+ID4g PiA+PiBzYWdlDQo+ID4gPiA+Pg0KPiA+ID4gPj4+DQo+ID4gPiA+Pj4gSSB3YXMgYWJsZSB0byB1 cGRhdGUgdGhlIENNYWtlIGJ1aWxkIHN5c3RlbSB0byBidWlsZCB0aGUgdHJlZSwNCj4gSQ0KPiA+ ID4gPj4+IGhhdmVuJ3QgYXR0ZW1wdGVkIEF1dG90b29scy4gOigNCj4gPiA+ID4+Pg0KPiA+ID4g Pj4+IFJlZ2FyZHMsDQo+ID4gPiA+Pj4NCj4gPiA+ID4+PiBNYXR0DQo+ID4gPiA+Pj4NCj4gPiA+ ID4+PiAtLQ0KPiA+ID4gPj4+IE1hdHQgQmVuamFtaW4NCj4gPiA+ID4+PiBDb2hvcnRGUywgTExD Lg0KPiA+ID4gPj4+IDMxNSBXZXN0IEh1cm9uIFN0cmVldCwgU3VpdGUgMTQwQSBBbm4gQXJib3Is IE1pY2hpZ2FuIDQ4MTAzDQo+ID4gPiA+Pj4NCj4gPiA+ID4+PiBodHRwOi8vY29ob3J0ZnMuY29t DQo+ID4gPiA+Pj4NCj4gPiA+ID4+PiB0ZWwuICA3MzQtNzYxLTQ2ODkNCj4gPiA+ID4+PiBmYXgu ICA3MzQtNzY5LTg5MzgNCj4gPiA+ID4+PiBjZWwuICA3MzQtMjE2LTUzMDkNCj4gPiA+ID4+PiAt LQ0KPiA+ID4gPj4+IFRvIHVuc3Vic2NyaWJlIGZyb20gdGhpcyBsaXN0OiBzZW5kIHRoZSBsaW5l ICJ1bnN1YnNjcmliZQ0KPiBjZXBoLWRldmVsIg0KPiA+ID4gPj4+IGluIHRoZSBib2R5IG9mIGEg bWVzc2FnZSB0byBtYWpvcmRvbW9Admdlci5rZXJuZWwub3JnIE1vcmUNCj4gPiA+ID4+PiBtYWpv cmRvbW8gaW5mbyBhdCAgaHR0cDovL3ZnZXIua2VybmVsLm9yZy9tYWpvcmRvbW8taW5mby5odG1s DQo+ID4gPiA+Pj4NCj4gPiA+ID4+Pg0KPiA+ID4gPj4NCj4gPiA+ID4+IF9fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fDQo+ID4gPiA+Pg0KPiA+ID4gPj4gUExFQVNFIE5PVEU6IFRoZSBp bmZvcm1hdGlvbiBjb250YWluZWQgaW4gdGhpcyBlbGVjdHJvbmljIG1haWwNCj4gbWVzc2FnZSBp cyBpbnRlbmRlZCBvbmx5IGZvciB0aGUgdXNlIG9mIHRoZSBkZXNpZ25hdGVkIHJlY2lwaWVudChz KQ0KPiBuYW1lZCBhYm92ZS4gSWYgdGhlIHJlYWRlciBvZiB0aGlzIG1lc3NhZ2UgaXMgbm90IHRo ZSBpbnRlbmRlZA0KPiByZWNpcGllbnQsIHlvdSBhcmUgaGVyZWJ5IG5vdGlmaWVkIHRoYXQgeW91 IGhhdmUgcmVjZWl2ZWQgdGhpcyBtZXNzYWdlDQo+IGluIGVycm9yIGFuZCB0aGF0IGFueSByZXZp ZXcsIGRpc3NlbWluYXRpb24sIGRpc3RyaWJ1dGlvbiwgb3IgY29weWluZw0KPiBvZiB0aGlzIG1l c3NhZ2UgaXMgc3RyaWN0bHkgcHJvaGliaXRlZC4gSWYgeW91IGhhdmUgcmVjZWl2ZWQgdGhpcw0K PiBjb21tdW5pY2F0aW9uIGluIGVycm9yLCBwbGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgYnkgdGVs ZXBob25lIG9yDQo+IGUtbWFpbCAoYXMgc2hvd24gYWJvdmUpIGltbWVkaWF0ZWx5IGFuZCBkZXN0 cm95IGFueSBhbmQgYWxsIGNvcGllcyBvZg0KPiB0aGlzIG1lc3NhZ2UgaW4geW91ciBwb3NzZXNz aW9uICh3aGV0aGVyIGhhcmQgY29waWVzIG9yIGVsZWN0cm9uaWNhbGx5DQo+IHN0b3JlZCBjb3Bp ZXMpLg0KPiA+ID4gPj4NCj4gPiA+ID4+IC0tDQo+ID4gPiA+PiBUbyB1bnN1YnNjcmliZSBmcm9t IHRoaXMgbGlzdDogc2VuZCB0aGUgbGluZSAidW5zdWJzY3JpYmUNCj4gPiA+ID4+IGNlcGgtZGV2 ZWwiIGluIHRoZSBib2R5IG9mIGEgbWVzc2FnZSB0bw0KPiBtYWpvcmRvbW9Admdlci5rZXJuZWwu b3JnDQo+ID4gPiA+PiBNb3JlIG1ham9yZG9tbyBpbmZvIGF0DQo+ID4gPiA+PiBodHRwOi8vdmdl ci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0bWwNCj4gPiA+ID4+DQo+ID4gPiA+Pg0KPiA+ ID4gPiAtLQ0KPiA+ID4gPiBUbyB1bnN1YnNjcmliZSBmcm9tIHRoaXMgbGlzdDogc2VuZCB0aGUg bGluZSAidW5zdWJzY3JpYmUNCj4gPiA+ID4gY2VwaC1kZXZlbCIgaW4gdGhlIGJvZHkgb2YgYSBt ZXNzYWdlIHRvDQo+IG1ham9yZG9tb0B2Z2VyLmtlcm5lbC5vcmcNCj4gPiA+ID4gTW9yZSBtYWpv cmRvbW8gaW5mbyBhdA0KPiBodHRwOi8vdmdlci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0 bWwNCj4gPiA+ID4NCj4gPiA+DQo+ID4gPiAtLQ0KPiA+ID4gTG/Dr2MgRGFjaGFyeSwgQXJ0aXNh biBMb2dpY2llbCBMaWJyZQ0KPiA+ID4NCj4gPiA+DQo+ID4gLS0NCj4gPiBUbyB1bnN1YnNjcmli ZSBmcm9tIHRoaXMgbGlzdDogc2VuZCB0aGUgbGluZSAidW5zdWJzY3JpYmUNCj4gY2VwaC1kZXZl bCINCj4gPiBpbiB0aGUgYm9keSBvZiBhIG1lc3NhZ2UgdG8gbWFqb3Jkb21vQHZnZXIua2VybmVs Lm9yZyBNb3JlIG1ham9yZG9tbw0KPg0KPiA+IGluZm8gYXQgIGh0dHA6Ly92Z2VyLmtlcm5lbC5v cmcvbWFqb3Jkb21vLWluZm8uaHRtbA0KPiA+DQo+ID4NCg0KLS0NCk1hdHQgQmVuamFtaW4NCkNv aG9ydEZTLCBMTEMuDQozMTUgV2VzdCBIdXJvbiBTdHJlZXQsIFN1aXRlIDE0MEENCkFubiBBcmJv ciwgTWljaGlnYW4gNDgxMDMNCg0KaHR0cDovL2NvaG9ydGZzLmNvbQ0KDQp0ZWwuICA3MzQtNzYx LTQ2ODkNCmZheC4gIDczNC03NjktODkzOA0KY2VsLiAgNzM0LTIxNi01MzA5DQoNCl9fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQoNClBMRUFTRSBOT1RFOiBUaGUgaW5mb3JtYXRpb24g Y29udGFpbmVkIGluIHRoaXMgZWxlY3Ryb25pYyBtYWlsIG1lc3NhZ2UgaXMgaW50ZW5kZWQgb25s eSBmb3IgdGhlIHVzZSBvZiB0aGUgZGVzaWduYXRlZCByZWNpcGllbnQocykgbmFtZWQgYWJvdmUu IElmIHRoZSByZWFkZXIgb2YgdGhpcyBtZXNzYWdlIGlzIG5vdCB0aGUgaW50ZW5kZWQgcmVjaXBp ZW50LCB5b3UgYXJlIGhlcmVieSBub3RpZmllZCB0aGF0IHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMg bWVzc2FnZSBpbiBlcnJvciBhbmQgdGhhdCBhbnkgcmV2aWV3LCBkaXNzZW1pbmF0aW9uLCBkaXN0 cmlidXRpb24sIG9yIGNvcHlpbmcgb2YgdGhpcyBtZXNzYWdlIGlzIHN0cmljdGx5IHByb2hpYml0 ZWQuIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgY29tbXVuaWNhdGlvbiBpbiBlcnJvciwgcGxl YXNlIG5vdGlmeSB0aGUgc2VuZGVyIGJ5IHRlbGVwaG9uZSBvciBlLW1haWwgKGFzIHNob3duIGFi b3ZlKSBpbW1lZGlhdGVseSBhbmQgZGVzdHJveSBhbnkgYW5kIGFsbCBjb3BpZXMgb2YgdGhpcyBt ZXNzYWdlIGluIHlvdXIgcG9zc2Vzc2lvbiAod2hldGhlciBoYXJkIGNvcGllcyBvciBlbGVjdHJv bmljYWxseSBzdG9yZWQgY29waWVzKS4NCg0K
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
Quoted 3 lines · Varada Kari
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Since we're planning on having loadable modules become the new normal, I think it might be better to take 'Plugin' off the erasure coding classes than to add it to all the others.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
Hi,
Made some more changes to resolve lttng problems at https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below.
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstore
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstore
Hi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 187 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z
Hi All,
Not able to make much progress after making common as a shared object along with object store. Compilation of the test binaries are failing with "./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'".
CXXLD ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1
But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 => /home/varada/ obs-factory/plugin-work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)
liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0 (0x00007f5e4a021000)
liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000)
liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstore
Hi,
Made some more changes to resolve lttng problems at https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below.
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstore
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstore
Hi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 187 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! iHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <[email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstore
Hi All,
Not able to make much progress after making common as a shared object along with object store. Compilation of the test binaries are failing with "./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'".
CXXLD ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1
But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 => /home/varada/ obs-factory/plugin-work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)
liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0 (0x00007f5e4a021000)
liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000)
liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstore
Hi,
Made some more changes to resolve lttng problems at https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below.
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstore
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstore
Hi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 187 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z ޖ f h ~ m
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner . Several questions:
1. What you think about the performance impact with the new implementation? Such as dynamic library vs static link?
2. Could any vendor just provide a objectstore interfaces complied dynamic binary library for their own storage engine with new factory framework?
Regards,
James
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <[email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstore
Hi All,
Not able to make much progress after making common as a shared object along with object store. Compilation of the test binaries are failing with "./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'".
CXXLD ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1
But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 => /home/varada/ obs-factory/plugin-work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)
liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0 (0x00007f5e4a021000)
liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000)
liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstore
Hi,
Made some more changes to resolve lttng problems at https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below.
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstore
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstore
Hi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 187 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i
칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w ? & )ߢfHi James,
Please find the responses inline.
varada
Quoted 9 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:13 AM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Quoted 5 lines
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner . Several
questions:
1. What you think about the performance impact with the new
implementation? Such as dynamic library vs static link?
[Varada Kari] Haven't measured the performance yet, but there will be some hit due to static vs dynamic. But that shouldn't be a major degradation, but I will hold on till we have some perf runs to figure that out.
Quoted 2 lines
2. Could any vendor just provide a objectstore interfaces complied dynamic
binary library for their own storage engine with new factory framework?
[Varada Kari] That was one of the design motives for this change. Yes any backend adhering the interfaces of object store can integrate with osd. All they need to do provide a factory interface and the required version and init functionality additionally to all the required object store interfaces.
Quoted 358 lines
Regards,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000) liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust- tracepoint.so.0 (0x00007f5e4a021000) liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem.
Can anyone take a look and guide me to fix this problem?Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 182 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
Performance impact after initialization will be zero. All of the call sequences are done as vtable dynamic dispatches on the global ObjectStore instance. This type of call sequence doesn't matter whether it's dynamic or statically linked, they are the same (a simple indirection through the vtbl which is loaded from a known constant offset in the object).
Allen Samuels
Chief Software Architect, Emerging Storage Solutions
951 SanDisk Drive, Milpitas, CA 95035
T: +1 408 801 7030| M: +1 408 780 6416
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 9:34 PM
To: James (Fei) Liu-SSI <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Hi James,
Please find the responses inline.
varada
Quoted 9 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:13 AM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Quoted 5 lines
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner . Several
questions:
1. What you think about the performance impact with the new
implementation? Such as dynamic library vs static link?
[Varada Kari] Haven't measured the performance yet, but there will be some hit due to static vs dynamic. But that shouldn't be a major degradation, but I will hold on till we have some perf runs to figure that out.
Quoted 2 lines
2. Could any vendor just provide a objectstore interfaces complied dynamic
binary library for their own storage engine with new factory framework?
[Varada Kari] That was one of the design motives for this change. Yes any backend adhering the interfaces of object store can integrate with osd. All they need to do provide a factory interface and the required version and init functionality additionally to all the required object store interfaces.
Quoted 358 lines
Regards,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000) liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust- tracepoint.so.0 (0x00007f5e4a021000) liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem.
Can anyone take a look and guide me to fix this problem?Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 182 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
N�����r��y���b�X��ǧv�^�){.n�+���z�]z���{ay�ʇڙ�,j ��f���h���z��w��� ���j:+v���w�j�m���� ����zZ+�����ݢj"��!�i
Yes Allen for ObjectStore what you said correct. Along with ObjectStore backends, I have made libcommon as a shared object, so I was not sure of the performance, as bufferlist is part of libcommon.
Varada
Quoted 457 lines
-----Original Message-----
From: Allen Samuels
Sent: Sunday, September 13, 2015 2:05 AM
To: Varada Kari <[email protected]>; James (Fei) Liu-SSI <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstorePerformance impact after initialization will be zero. All of the call sequences are done as vtable dynamic dispatches on the global ObjectStore instance. This type of call sequence doesn't matter whether it's dynamic or statically linked, they are the same (a simple indirection through the vtbl which is loaded from a known constant offset in the object).
Allen Samuels
Chief Software Architect, Emerging Storage Solutions951 SanDisk Drive, Milpitas, CA 95035
T: +1 408 801 7030| M: +1 408 780 6416
[email protected]-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 9:34 PM
To: James (Fei) Liu-SSI <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi James,
Please find the responses inline.
varada
Quoted 9 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:13 AM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreQuoted 6 lines
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner .
Several
questions:
1. What you think about the performance impact with the new
implementation? Such as dynamic library vs static link?[Varada Kari] Haven't measured the performance yet, but there will be some hit due to static vs dynamic. But that shouldn't be a major degradation, but I will hold on till we have some perf runs to figure that out.
Quoted 2 lines
2. Could any vendor just provide a objectstore interfaces complied
dynamic binary library for their own storage engine with new factoryframework?
[Varada Kari] That was one of the design motives for this change. Yes any backend adhering the interfaces of object store can integrate with osd. All they need to do provide a factory interface and the required version and init functionality additionally to all the required object store interfaces.Quoted 13 lines
Regards,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreQuoted 4 lines
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at
https://github.com/ceph/ceph/pull/5884 .
Quoted 3 lines
Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store
integration.
Quoted 9 lines
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam CrumeQuoted 96 lines
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
Quoted 14 lines
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
Quoted 218 lines
e
Quoted 189 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 5 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m
z
Quoted 3 lines
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf________________________________
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).
Quoted 4 lines
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j
f h z w
j:+v w j m
zZ+ ݢj" ! i
________________________________
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).
Hi Allen,
I am not exactly sure what the vtable is. Is the vtable same as vtable from C++ object concept? IMHP, the procedure linkage table was used to redirect position-independent function calls to absolute location of function based on the ELF format spec[1]. The performance hit for shared library might be negligible. There is very old articles to talk about the performance tests between shared vs static libs[2]. I am not following up the lasted complier/linker technologies any more. Would be great to know any new updates.
[1]http://www.skyfree.org/linux/references/ELF_Format.pdf [2]https://gcc.gnu.org/ml/gcc/2004-06/msg01956.html
Regards,
James
-----Original Message-----
From: Allen Samuels [mailto:[email protected]]
Sent: Saturday, September 12, 2015 1:35 PM
To: Varada Kari; James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Performance impact after initialization will be zero. All of the call sequences are done as vtable dynamic dispatches on the global ObjectStore instance. This type of call sequence doesn't matter whether it's dynamic or statically linked, they are the same (a simple indirection through the vtbl which is loaded from a known constant offset in the object).
Allen Samuels
Chief Software Architect, Emerging Storage Solutions
951 SanDisk Drive, Milpitas, CA 95035
T: +1 408 801 7030| M: +1 408 780 6416
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 9:34 PM
To: James (Fei) Liu-SSI <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Hi James,
Please find the responses inline.
varada
Quoted 9 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:13 AM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Quoted 6 lines
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner .
Several
questions:
1. What you think about the performance impact with the new
implementation? Such as dynamic library vs static link?
[Varada Kari] Haven't measured the performance yet, but there will be some hit due to static vs dynamic. But that shouldn't be a major degradation, but I will hold on till we have some perf runs to figure that out.
Quoted 2 lines
2. Could any vendor just provide a objectstore interfaces complied
dynamic binary library for their own storage engine with new factory framework?
[Varada Kari] That was one of the design motives for this change. Yes any backend adhering the interfaces of object store can integrate with osd. All they need to do provide a factory interface and the required version and init functionality additionally to all the required object store interfaces.
Quoted 367 lines
Regards,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 189 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j
f h z w
j:+v w j m
zZ+ ݢj" ! i
Yes, I'm referring to the C++ vtable.
Allen Samuels
Software Architect, Emerging Storage Solutions
2880 Junction Avenue, Milpitas, CA 95134
T: +1 408 801 7030| M: +1 408 780 6416
[email protected]
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 14, 2015 9:48 AM
To: Allen Samuels <[email protected]>; Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Hi Allen,
I am not exactly sure what the vtable is. Is the vtable same as vtable from C++ object concept? IMHP, the procedure linkage table was used to redirect position-independent function calls to absolute location of function based on the ELF format spec[1]. The performance hit for shared library might be negligible. There is very old articles to talk about the performance tests between shared vs static libs[2]. I am not following up the lasted complier/linker technologies any more. Would be great to know any new updates.
[1]http://www.skyfree.org/linux/references/ELF_Format.pdf [2]https://gcc.gnu.org/ml/gcc/2004-06/msg01956.html
Regards,
James
-----Original Message-----
From: Allen Samuels [mailto:[email protected]]
Sent: Saturday, September 12, 2015 1:35 PM
To: Varada Kari; James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Performance impact after initialization will be zero. All of the call sequences are done as vtable dynamic dispatches on the global ObjectStore instance. This type of call sequence doesn't matter whether it's dynamic or statically linked, they are the same (a simple indirection through the vtbl which is loaded from a known constant offset in the object).
Allen Samuels
Chief Software Architect, Emerging Storage Solutions
951 SanDisk Drive, Milpitas, CA 95035
T: +1 408 801 7030| M: +1 408 780 6416
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 9:34 PM
To: James (Fei) Liu-SSI <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Hi James,
Please find the responses inline.
varada
Quoted 9 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Saturday, September 12, 2015 12:13 AM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstore
Quoted 6 lines
Hi Varada,
Got a chance to go through the code. Great job. It is much cleaner .
Several
questions:
1. What you think about the performance impact with the new
implementation? Such as dynamic library vs static link?
[Varada Kari] Haven't measured the performance yet, but there will be some hit due to static vs dynamic. But that shouldn't be a major degradation, but I will hold on till we have some perf runs to figure that out.
Quoted 2 lines
2. Could any vendor just provide a objectstore interfaces complied
dynamic binary library for their own storage engine with new factory framework?
[Varada Kari] That was one of the design motives for this change. Yes any backend adhering the interfaces of object store can integrate with osd. All they need to do provide a factory interface and the required version and init functionality additionally to all the required object store interfaces.
Quoted 366 lines
Regards,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 188 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j
f h z w
j:+v w j m
zZ+ ݢj" ! i
Hi Varada,
Have you rebased the pull request to master already?
Thanks,
James
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <[email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstore
Hi All,
Not able to make much progress after making common as a shared object along with object store. Compilation of the test binaries are failing with "./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'".
CXXLD ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1
But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 => /home/varada/obs-factory/plugin-work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 => /home/varada/ obs-factory/plugin-work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)
liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust-tracepoint.so.0 (0x00007f5e4a021000)
liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000)
liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstore
Hi,
Made some more changes to resolve lttng problems at https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below.
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstore
Hi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstore
Hi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 187 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ede4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 12 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 5 lines
in the body of a message to [email protected] More majordomo
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309
________________________________
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).
N r y b X ǧv ^ ){.n + z ]z
N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i
칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w ? & )ߢfNo James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
Varada
Quoted 368 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust.so.0 (0x00007f5e4b179000) liblttng-ust-tracepoint.so.0 => /usr/lib/x86_64-linux-gnu/liblttng-ust- tracepoint.so.0 (0x00007f5e4a021000) liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1 (0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem.
Can anyone take a look and guide me to fix this problem?Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 182 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 1 line · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
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 functionof type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sage
Quoted 2 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
Hi Varada,
Can you use command nm to see whether " tracepoint_dlopen" is defined in "./.libs/libceph_filestore.so"?
Regards,
James
-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Monday, September 28, 2015 6:21 PM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
No James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
Varada
Quoted 377 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at https://github.com/ceph/ceph/pull/5884 . Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store integration.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam Crume <[email protected]>
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
eQuoted 189 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 7 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m z
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf
________________________________
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).
Hi James,
Symbol is present in bss. This is what I find
$ nm libceph_filestore.so | grep tracepoint_dlopen 000000000047f8c0 b tracepoint_dlopen
Please note you have to comment the following line to check all the symbols on the so.
src/os/filestore/Makefile.am +1 -1
@@ -71,7 +71,7 @@ endif libceph_filestore_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 if LINUX -libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*' +#libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*' endif lib_LTLIBRARIES += libceph_filestore.la
Thanks,
Varada
Quoted 423 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:08 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Can you use command nm to see whether "tracepoint_dlopen" is defined
in "./.libs/libceph_filestore.so"?Regards,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Monday, September 28, 2015 6:21 PM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreNo James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
VaradaQuoted 23 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreQuoted 4 lines
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at
https://github.com/ceph/ceph/pull/5884 .
Quoted 3 lines
Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store
integration.
Quoted 9 lines
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam CrumeQuoted 96 lines
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if possible) loadable modules.
Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
Quoted 14 lines
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
Quoted 217 lines
e
Quoted 188 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 4 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 5 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m
z
Quoted 3 lines
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf________________________________
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).
________________________________
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).
Hi Varada,
I tried to reproduce the error you faced over her and compiled your wip-plugin branch from https://github.com/varadakari/ceph/ and always have two errors with autotools:
1. There is no ceph_ver.h file under ./src directory. I manually generated one and work around the error.
2. gmock error even though I tried to run ./autogen many times.
make[3]: *** No rule to make target ../src/gmock/lib/libgmock_main.la', needed by unittest_librbd'. Stop. make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src'
make: *** [all-recursive] Error 1
By the way, CMake won't work either in your repo.
thanks,
James
-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:14 AM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Hi James,
Symbol is present in bss. This is what I find
$ nm libceph_filestore.so | grep tracepoint_dlopen 000000000047f8c0 b tracepoint_dlopen
Please note you have to comment the following line to check all the symbols on the so.
src/os/filestore/Makefile.am +1 -0
@@ -71,7 +71,7 @@ endif libceph_filestore_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 if LINUX -libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*' +#libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*' endif lib_LTLIBRARIES += libceph_filestore.la
Thanks,
Varada
Quoted 430 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:08 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Can you use command nm to see whether "tracepoint_dlopen" is
defined in "./.libs/libceph_filestore.so"?Regards,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Monday, September 28, 2015 6:21 PM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreNo James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
VaradaQuoted 23 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreQuoted 4 lines
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at
https://github.com/ceph/ceph/pull/5884 .
Quoted 3 lines
Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store
integration.
Quoted 9 lines
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam CrumeQuoted 98 lines
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with "./.libs/libceph_filestore.so:
undefined reference to `tracepoint_dlopen'".CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if
possible) loadable modules.Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
Quoted 14 lines
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
Quoted 221 lines
e
Quoted 192 lines
4f189ec7e1c8This 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 forg_ceph_contextandg_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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines · Matt W. Benjamin
Quoted 7 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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).
Quoted 5 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m
z
Quoted 3 lines
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ i z w
? & )ߢf________________________________
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).
________________________________
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).
Hi James,
I am also facing the ceph_ver.h problem, will clean the branch and try to rebase that. But I am not facing the second problem you are mentioning. I have tried just now, that seems to be working fine. I use do_autogen.sh with -d 2 and -O 0. Will check with autogen.sh and fix if there is any problem.
And yes, I have not made any changes to cmake yet, once I have all the changes for automake, will make cmake changes.
Varada
Quoted 517 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 11:02 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
I tried to reproduce the error you faced over her and compiled your wip-
plugin branch from https://github.com/varadakari/ceph/ and always have two errors with autotools:
1. There is noceph_ver.hfile under ./src directory. I manually generated
one and work around the error.
2. gmock error even though I tried to run ./autogen many times.make[3]: *** No rule to make target
../src/gmock/lib/libgmock_main.la', needed byunittest_librbd'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src'
make: *** [all-recursive] Error 1By the way, CMake won't work either in your repo.
thanks,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:14 AM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi James,
Symbol is present in bss. This is what I find
$ nm libceph_filestore.so | grep tracepoint_dlopen 000000000047f8c0 b tracepoint_dlopenPlease note you have to comment the following line to check all the symbols on the so.
src/os/filestore/Makefile.am +0
-1@@ -71,7 +71,7 @@ endif libceph_filestore_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 if LINUX -libceph_filestore_la_LDFLAGS += -export-symbols-regex'.*__ceph_plugin_.*' +#libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*'
endif
lib_LTLIBRARIES+= libceph_filestore.laThanks,
VaradaQuoted 67 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:08 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Can you use command nm to see whether "tracepoint_dlopen" is
defined in "./.libs/libceph_filestore.so"?Regards,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Monday, September 28, 2015 6:21 PM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreNo James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
VaradaQuoted 23 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreQuoted 4 lines
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at
https://github.com/ceph/ceph/pull/5884 .
Quoted 3 lines
Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store
integration.
Quoted 4 lines
Thanks,
VaradaQuoted 15 lines
Quoted 5 lines
-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam CrumeQuoted 9 lines
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with"./.libs/libceph_filestore.so:
Quoted 95 lines
Quoted 95 lines
undefined reference to `tracepoint_dlopen'".
CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if
possible) loadable modules.Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 9 lines
Quoted 8 lines
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
Quoted 7 lines
Quoted 7 lines
e
Quoted 6 lines
4f189ec7e1c8This 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 notallowed.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
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 forg_ceph_contextand
g_conf.Quoted 215 lines
Quoted 205 lines
Quoted 177 lines
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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 17 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 8 lines
Cheers
Quoted 4 lines · Sage Weil
Quoted 3 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines · Matt W. Benjamin
Quoted 7 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
a jumping off point; I do think it's basically what Sage
described.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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
Quoted 9 lines
stored copies).
Quoted 5 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m
z
Quoted 2 lines
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ iz w
Quoted 4 lines
Quoted 1 line
? & )ߢf
________________________________
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).
________________________________
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).
________________________________
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).
Hi Varada,
Let me know when you complete the rebase. Then I can help you over here to reproduce and fix the issue.
Regards,
James
-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:38 AM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstore
Hi James,
I am also facing the ceph_ver.h problem, will clean the branch and try to rebase that. But I am not facing the second problem you are mentioning. I have tried just now, that seems to be working fine. I use do_autogen.sh with -d 2 and -O 0. Will check with autogen.sh and fix if there is any problem.
And yes, I have not made any changes to cmake yet, once I have all the changes for automake, will make cmake changes.
Varada
Quoted 525 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 11:02 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
I tried to reproduce the error you faced over her and compiled your
wip- plugin branch from https://github.com/varadakari/ceph/ and always have two errors with autotools:
1. There is noceph_ver.hfile under ./src directory. I manually
generated one and work around the error.
2. gmock error even though I tried to run ./autogen many times.make[3]: *** No rule to make target `../src/gmock/lib/libgmock_main.la',
needed by `unittest_librbd'. Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jamesliu/WorkSpace/ceph_varada/src'
make: *** [all-recursive] Error 1By the way, CMake won't work either in your repo.
thanks,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:14 AM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreHi James,
Symbol is present in bss. This is what I find
$ nm libceph_filestore.so | grep tracepoint_dlopen 000000000047f8c0 b tracepoint_dlopenPlease note you have to comment the following line to check all the symbols on the so.
(quoted diff) +0
-0b/src/os/filestore/Makefile.am index de8ec07..77dbc4d 100644
src/os/filestore/Makefile.am +0
-0@@ -71,7 +71,7 @@ endif libceph_filestore_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 ifLINUX -libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*' +#libceph_filestore_la_LDFLAGS += -export-symbols-regex '.*__ceph_plugin_.*'
endif
lib_LTLIBRARIES+= libceph_filestore.laThanks,
VaradaQuoted 68 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Tuesday, September 29, 2015 10:08 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Can you use command nm to see whether "tracepoint_dlopen" is
defined in "./.libs/libceph_filestore.so"?Regards,
James-----Original Message-----
From: Varada Kari [mailto:[email protected]]
Sent: Monday, September 28, 2015 6:21 PM
To: James (Fei) Liu-SSI; Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreNo James, Facing library issues with libnss3 and libcommon(ceph). Will resolve them, generate a new pull request soon on master.
Thanks,
VaradaQuoted 23 lines
-----Original Message-----
From: James (Fei) Liu-SSI [mailto:[email protected]]
Sent: Monday, September 28, 2015 11:51 PM
To: Varada Kari <[email protected]>; Sage Weil <[email protected]>; Matt W. Benjamin <[email protected]>; Loic Dachary <[email protected]>
Cc: ceph-devel <[email protected]>
Subject: RE: loadable objectstoreHi Varada,
Have you rebased the pull request to master already?Thanks,
James-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, September 11, 2015 3:28 AM
To: Sage Weil; Matt W. Benjamin; Loic Dachary
Cc: ceph-devel
Subject: RE: loadable objectstoreQuoted 4 lines
Hi Sage/ Matt,
I have submitted the pull request based on wip-plugin branch for the object store factory implementation at
https://github.com/ceph/ceph/pull/5884 .
Quoted 4 lines
Haven't rebased to the master yet. Working on rebase and including new store in the factory implementation. Please have a look and let me know your comments. Will submit a rebased PR soon with new store
integration.
Quoted 4 lines
Thanks,
VaradaQuoted 15 lines
Quoted 5 lines
-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, July 03, 2015 7:31 PM
To: Sage Weil <[email protected]>; Adam CrumeQuoted 9 lines
Cc: Loic Dachary <[email protected]>; ceph-devel <ceph- [email protected]>; Matt W. Benjamin <[email protected]>
Subject: RE: loadable objectstoreHi All,
Not able to make much progress after making common as a shared object along with object store.
Compilation of the test binaries are failing with"./.libs/libceph_filestore.so:
Quoted 95 lines
Quoted 95 lines
undefined reference to `tracepoint_dlopen'".
CXXLD
ceph_streamtest
./.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
collect2: error: ld returned 1 exit status
make[3]: *** [ceph_streamtest] Error 1But libfilestore.so is linked with lttng-ust.
src/.libs$ ldd libceph_filestore.so
libceph_keyvaluestore.so.1 =>/home/varada/obs-factory/plugin-work/src/.libs/libceph_keyvaluestore.so.1 (0x00007f5e50f50000)
libceph_os.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libceph_os.so.1 (0x00007f5e4f93a000)
libcommon.so.1 =>/home/varada/obs-factory/plugin-
work/src/.libs/libcommon.so.1 (0x00007f5e4b5df000)liblttng-ust.so.0 =>
/usr/lib/x86_64-linux-gnu/liblttng-ust.so.0
(0x00007f5e4b179000)
liblttng-ust-tracepoint.so.0 =>/usr/lib/x86_64-linux-gnu/liblttng-ust-
tracepoint.so.0 (0x00007f5e4a021000)liburcu-bp.so.1 => /usr/lib/liburcu-bp.so.1 (0x00007f5e49e1a000) liburcu-cds.so.1 => /usr/lib/liburcu-cds.so.1(
0x00007f5e49c12000)Edited the above output just show the dependencies. Did anyone face this issue before?
Any help would be much appreciated.Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Friday, June 26, 2015 3:34 PM
To: Sage Weil
Cc: Loic Dachary; ceph-devel; Matt W. Benjamin
Subject: RE: loadable objectstoreHi,
Made some more changes to resolve lttng problems at
https://github.com/varadakari/ceph/commits/wip-plugin.
But couldn’t by pass the issues. Facing some issues like mentioned below../.libs/libceph_filestore.so: undefined reference to `tracepoint_dlopen'
Compiling with -llttng-ust is not resolving the problem. Seen some threads in devel list before, mentioning this problem. Can anyone take a look and guide me to fix this problem?
Haven't made the changes to change the plugin name etc... will be making them as part of cleanup.
Thanks,
Varada-----Original Message-----
From: [email protected] [mailto:ceph-devel- [email protected]] On Behalf Of Varada Kari
Sent: Monday, June 22, 2015 8:57 PM
To: Matt W. Benjamin
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: RE: loadable objectstoreHi Matt,
Majority of the changes are segregating the files to corresponding shared object and creating a factory object. And the naming is mostly taken from Erasure-coding plugins. Want a good naming convention :-), hence a preliminary review. Do agree, we have lot of loadable interfaces, and I think we are in the way of making them on-demand (if
possible) loadable modules.Varada
-----Original Message-----
From: Matt W. Benjamin [mailto:[email protected]]
Sent: Monday, June 22, 2015 8:37 PM
To: Varada Kari
Cc: Loic Dachary; ceph-devel; Sage Weil
Subject: Re: loadable objectstoreHi,
It's just aesthetic, but it feels clunky to change the names of well known modules to <something>Plugin--esp. if that generalizes forward to new loadable modules (and we have a lot of loadable interfaces).
Matt
Quoted 9 lines
Quoted 8 lines
Quoted 5 lines · ----- "Varada Kari
Hi Sage,
Please find the initial implementation of objects store factory (initial cut) at
https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed
Quoted 8 lines
Quoted 8 lines
e
Quoted 7 lines
4f189ec7e1c8This 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 notallowed.
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
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 forg_ceph_contextand
g_conf.Quoted 218 lines
Quoted 208 lines
Quoted 180 lines
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 objectstoreHi Varada,
Any progress on this?
Thanks!
sageQuoted 2 lines · Varada Kari
Thanks Sage and Loic. Will add the missing pieces and integrate the
object factory and plugin changes.
Quoted 11 lines
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 objectstoreOn Sat, 11 Apr 2015, Loic Dachary wrote:
Quoted 18 lines
Quoted 4 lines
Hi Sage,
It looks like common/PluginRegistry.{h,cc} are missing from
18ad8df1094db52c839dc6b2dc689fc882230acbwhoops pushed! :)
sage
Quoted 9 lines
Cheers
Quoted 5 lines · Sage Weil
Quoted 4 lines · Varada Kari
Hi Matt/ Sage,
Thanks for sharing the pull request. Will work on the items
what
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
sage was mentioning in the comments along with the items in the
tracker.
Quoted 3 lines
Quoted 3 lines
Quoted 3 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
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
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 functionQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
of type and name). Or actually, we can just rename the EC .so's
when this goes in? Since they're explicitly incompatible
between
Quoted 1 line
Quoted 1 line
Quoted 1 line
versions there is no reason the names need to remain
consistent...
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
sage
Quoted 10 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 objectstoreQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines · Matt W. Benjamin
Quoted 7 lines
Hi Varada,
I pushed branch hammer-osfactory to
https://github.com/linuxbox2/ceph.gitIt can at least provide a starting point for discussion, if
not
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
a jumping off point; I do think it's basically what Sage
described.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
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...
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
sage
Quoted 3 lines
I was able to update the CMake build system to build the tree,
I
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
haven't attempted Autotools. :(
Regards,
Matt
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309--
To unsubscribe from this list: send the line
"unsubscribeceph-devel"
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
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).Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message toQuoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
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 toQuoted 1 line
Quoted 1 line
Quoted 1 line
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
--
Loïc Dachary, Artisan Logiciel Libre--
To unsubscribe from this list: send the line "unsubscribeceph-devel"
Quoted 1 line
in the body of a message to [email protected] More
majordomo
Quoted 4 lines
Quoted 4 lines
--
Matt Benjamin
CohortFS, LLC.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309________________________________
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
Quoted 9 lines
stored copies).
Quoted 5 lines
N r y b X ǧv ^ ){.n + z ]z N r y b X ǧv ^ ){.n + z ]z {ay ʇڙ ,j f h z w j:+v w j m zZ+ ݢj" ! i칻 & ~ & +- ݶ w ˛ m ^ b ^n r z h & G h ( 階 ݢj" m
z
Quoted 2 lines
ޖ f h ~ m
{.n + +% lzwm b 맲 r yǩ ׯzX ܨ} Ơz &j:+v zZ+ +zf h ~ iz w
Quoted 4 lines
Quoted 1 line
? & )ߢf
________________________________
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).
________________________________
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).
________________________________
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).