From patchwork Tue Sep 29 17:14:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Varada Kari X-Patchwork-Id: 7288791 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 436EB9F39B for ; Tue, 29 Sep 2015 17:14:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0782620676 for ; Tue, 29 Sep 2015 17:14:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D9C1720678 for ; Tue, 29 Sep 2015 17:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932797AbbI2ROf (ORCPT ); Tue, 29 Sep 2015 13:14:35 -0400 Received: from mail-bl2on0063.outbound.protection.outlook.com ([65.55.169.63]:7678 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932184AbbI2ROc (ORCPT ); Tue, 29 Sep 2015 13:14:32 -0400 Received: from BLUPR02CA043.namprd02.prod.outlook.com (10.160.23.161) by BN3PR02MB1253.namprd02.prod.outlook.com (10.163.34.12) with Microsoft SMTP Server (TLS) id 15.1.280.20; Tue, 29 Sep 2015 17:14:30 +0000 Received: from BY2FFO11FD009.protection.gbl (2a01:111:f400:7c0c::163) by BLUPR02CA043.outlook.office365.com (2a01:111:e400:8ad::33) with Microsoft SMTP Server (TLS) id 15.1.280.20 via Frontend Transport; Tue, 29 Sep 2015 17:14:30 +0000 Authentication-Results: spf=pass (sender IP is 74.221.232.54) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 74.221.232.54 as permitted sender) receiver=protection.outlook.com; client-ip=74.221.232.54; helo=sacsmgep14.sandisk.com; Received: from sacsmgep14.sandisk.com (74.221.232.54) by BY2FFO11FD009.mail.protection.outlook.com (10.1.14.73) with Microsoft SMTP Server id 15.1.274.4 via Frontend Transport; Tue, 29 Sep 2015 17:14:29 +0000 X-AuditID: ac1c2133-f79516d000007bb6-30-560ac6ebe85b Received: from SACHUBIP02.sdcorp.global.sandisk.com (Unknown_Domain [172.28.1.254]) by sacsmgep14.sandisk.com (Symantec Messaging Gateway) with SMTP id 31.E2.31670.BE6CA065; Tue, 29 Sep 2015 10:14:19 -0700 (PDT) Received: from SACMBXIP03.sdcorp.global.sandisk.com ([fe80::80c2:868b:c256:24b1]) by SACHUBIP02.sdcorp.global.sandisk.com ([10.181.10.104]) with mapi id 14.03.0248.002; Tue, 29 Sep 2015 10:14:29 -0700 From: Varada Kari To: "James (Fei) Liu-SSI" , Sage Weil , "Matt W. Benjamin" , Loic Dachary CC: ceph-devel Subject: RE: loadable objectstore Thread-Topic: loadable objectstore Thread-Index: AQHQrP0XKMdLKEGVuk6nWuoJSU3DTZ24pD9AgAXu/JCAC0HN8IBtyOuQgBuyIQD///+o8IABdhCA//+UMoA= Date: Tue, 29 Sep 2015 17:14:28 +0000 Message-ID: References: <1615100301.29.1434984131967.JavaMail.root@thunderbeast.private.linuxbox.com> <46879752.37.1434985621131.JavaMail.root@thunderbeast.private.linuxbox.com> <99767EA2E27DD44DB4E9F9B9ACA458C03BD7F3E5@SSIEXCH-MB3.ssi.samsung.com> <99767EA2E27DD44DB4E9F9B9ACA458C03BD7F68B@SSIEXCH-MB3.ssi.samsung.com> In-Reply-To: <99767EA2E27DD44DB4E9F9B9ACA458C03BD7F68B@SSIEXCH-MB3.ssi.samsung.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.181.8.64] MIME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pHzvOToOU4KV08MiyMl0R5oCkMdT7Y9DhGdVaj09uehDbLO3ocW2UBjhF+9EVzie7sjZFIZkXoI0Vnch33s3Iqe/lZe7HD1qwUrEhOFoG5vR/J73XrhPOfJRrXC+PxPzd9JqgRzZIR60IOGPbseZmmhfotSgK8Cv+ozYnqQ+Dju2vJSSt3W+7jiekddza5HBo68bC2Jb59Xf1F8ts0OIhrfYwmxQgobj6amaLbV4ep53px5k X-Forefront-Antispam-Report: CIP:74.221.232.54; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(13464003)(24454002)(52604005)(377454003)(479174004)(199003)(53754006)(164054003)(374574003)(189002)(16796002)(23676002)(5001860100001)(87936001)(55846006)(5001770100001)(33656002)(106466001)(92566002)(97736004)(19580395003)(19580405001)(5003600100002)(11100500001)(5007970100001)(5008740100001)(16601075003)(5004730100002)(81156007)(5001830100001)(4001540100001)(5001960100002)(106116001)(46102003)(102836002)(2920100001)(2900100001)(2950100001)(15975445007)(189998001)(93886004)(76176999)(68736005)(86362001)(50466002)(77156002)(69596002)(2270400002)(54356999)(62966003)(47776003)(221733001)(64706001)(77096005)(50986999)(7099028)(111123002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR02MB1253; H:sacsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3PR02MB1253; 2:wQXHr7bgJMkxuPqB+MLAmbLxq+fPQeV15dE6SKT2zbC5rRMh5/dZ0eNLKKUaGG8Y1KkNnfkF8OTHrrHPBDXgQcZHNs+Der9M6knwxO135E2JLreWd8BGnNwBtY4S7XvUHaZDDKuKcesJs3SAHjrEKfN7kRSgfxSG/nhXzzIB7m4=; 3:dh5AGCzCCifVNizh5uZUat+Al5G5pcCg14+zWK8IoKBps5zQTD5XcgeO4MmsgV8+myzzSeEHtwIvCFAU0LnG+tjTpexrkr+/Irgh/Q6y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eQjz30eDW1Ep/71AqtLNFQxjn8H0JtF1odD24zC3NtLJlSZrd593; 4:lpefsPUj7AvykctEOLUKvqekq3M09w2GCpOnHqRDKtXgCt8rtYuzoovr+Ex4uYnWxfc5FNqjI4YS7bGFOqGjT6rn3BUj4IDWpDIm48qF5A4UGTtkAMI63pL+YAazjZf5Zzv44MYQN4Y0OqKUKiOUnajESQfsjr3JQBECyIjraasIi7s6Vcobk8P2LdyEjtrfkL8xNVuN9x1j7IvoHeIgN5MDg3HecLvxhYnBWeC3spHMtGtDCV60S/UvUYQy2T6J3PidnV0A8uMHrkE/gnYA7tw7v4WwtmiAmhM8YZ3w7V/nDKvbp0noop14BiAMgyOYWzcyg4mUJvPMYOp9Y1evaZT5nMiKL/D5khC+KNoCMfI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001); SRVR:BN3PR02MB1253; BCL:0; PCL:0; RULEID:; SRVR:BN3PR02MB1253; X-Forefront-PRVS: 0714841678 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjNQUjAyTUIxMjUzOzIzOnIzQTBGTmFIdi9PaDhCUXFEZmNvZ0VuVkxB?= =?utf-8?B?TGdCMmVQZVRLSlpVZzE2WG5TRG4wd3lSazlxbHhVeFFxNmNaSzFCN1pQMHBj?= =?utf-8?B?SXVDVG5XeDVkY29ycGM2OEoySVUrY25uMWlZUUFaWDBPVHc1QWM5RTNzcEJn?= =?utf-8?B?WnVVelpNVkx4M09xeHhYUVdBZ2NrVTduMnRnaHZ5WVVwcnlPVS80TGNhVFV4?= =?utf-8?B?Vmd3NUF2WmYvTUYvUEluRXZlTGVoTlU2Z3BGU09hRE15WG5zRkxIc0o5Yzlo?= =?utf-8?B?clQ5YW9RRXo4cTBkTDFuMkxtVDVuY1BOYjF5bjhQckQ0Sjd0eVZKTjN6ODhB?= =?utf-8?B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-Diagnostics: 1; BN3PR02MB1253; 5:ZKrDiMHWVRMjsxg2ZxK8sUc5eoWvuMOzMKVipYLT6vtWwLEeFGJfQoein2wCRcbhYsJTS8eoJpwObrR194xwpmR0dd6LCYAIOgmV4adpp1UIosvPG8DfHoPYIqNZA//5Gjr97J9nruYDLtBzZTQ2Lw==; 24:YA0K1OxX3a/TqXCsFRhRTvd6KlxTB3WDtcXAOBZU6l3yCcMnQv5ko+yajIo/b6DMFCr/f+Vz1e/273iU4luKTZNYzC+Be67sUsrx//kSAxI=; 20:FudTQopf1vKfW+VUvtmCfkI6t8kn85CL7ympSmUUwv7Jwcx/SLHVICfGV8ev5TMHHTJpAZARetfTTCjx6IbO0ATxNPCev6jdyhJw5ujzt3tI/KN7yWlNTV6fjRhgf+CvMJzSZdzjCZP47AG5VwlfGlsjlPVtovLjzE/9JKQvRTxTAxxYIAcIhZC8OHHeITImFjMvAmJOt7UOuIWTI+DDY+vKZcVu20HLxYXC4XVWZAPBtPe3YzirfKPOCNpArz2Y SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2015 17:14:29.5849 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[74.221.232.54]; Helo=[sacsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1253 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Thanks, Varada > -----Original Message----- > From: James (Fei) Liu-SSI [mailto:james.liu@ssi.samsung.com] > Sent: Tuesday, September 29, 2015 10:08 PM > To: Varada Kari ; Sage Weil > ; Matt W. Benjamin ; Loic > Dachary > Cc: ceph-devel > Subject: RE: loadable objectstore > > 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:Varada.Kari@sandisk.com] > 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 > > > -----Original Message----- > > From: James (Fei) Liu-SSI [mailto:james.liu@ssi.samsung.com] > > Sent: Monday, September 28, 2015 11:51 PM > > To: Varada Kari ; Sage Weil > > ; Matt W. Benjamin ; Loic > > Dachary > > Cc: ceph-devel > > Subject: RE: loadable objectstore > > > > Hi Varada, > > Have you rebased the pull request to master already? > > > > Thanks, > > James > > > > -----Original Message----- > > From: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel- > > owner@vger.kernel.org] 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: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel- > > owner@vger.kernel.org] On Behalf Of Varada Kari > > Sent: Friday, July 03, 2015 7:31 PM > > To: Sage Weil ; Adam Crume > > > Cc: Loic Dachary ; ceph-devel > devel@vger.kernel.org>; Matt W. Benjamin > > 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: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel- > > owner@vger.kernel.org] 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: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel- > > owner@vger.kernel.org] 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:matt@cohortfs.com] > > 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 Plugin--esp. if that generalizes forward > > to new loadable modules (and we have a lot of loadable interfaces). > > > > Matt > > > > ----- "Varada Kari" wrote: > > > > > Hi Sage, > > > > > > Please find the initial implementation of objects store factory > > > (initial cut) at > > > > > > https://github.com/varadakari/ceph/commit/9d5fe2fecf38ba106c7c7b7a3ed > > e > > > 4f189ec7e1c8 > > > > > > This is still work in progress branch. Right now I am facing Lttng > > > issues, > > > LTTng-UST: Error (-17) while registering tracepoint probe. Duplicate > > > registration of tracepoint probes having the same name is not allowed. > > > > > > Might be an issue with libcommon inclusion. Trying resolving the > > > issue now. Seems I need to make libcommon also as a shared object to > > > avoid the duplicates, static linking is a problem here. > > > Any suggestions or comments on this problem? > > > > > > > > > I have commented out test binary (ceph_test_keyvaluedb_atomicity) > > > compilation, due to unresolved symbols for g_ceph_context and g_conf. > > > Not able to fix/workaround the problem so far. > > > > > > Can you please review if this is what in your mind for the factory > > > implementation? > > > > > > We can extend this implementation to messenger and different backend > > > of the OSD. Will make those incremental once the base framework is > > > approved. > > > > > > Thanks, > > > Varada > > > > > > > > > > > > -----Original Message----- > > > From: Sage Weil [mailto:sage@newdream.net] > > > Sent: Tuesday, May 12, 2015 5:11 AM > > > To: Varada Kari > > > Cc: Loic Dachary; Matt W. Benjamin; ceph-devel > > > Subject: RE: loadable objectstore > > > > > > Hi Varada, > > > > > > Any progress on this? > > > > > > Thanks! > > > sage > > > > > > On Sat, 11 Apr 2015, Varada Kari wrote: > > > > > > > Thanks Sage and Loic. Will add the missing pieces and integrate > > > > the > > > object factory and plugin changes. > > > > > > > > Varada > > > > > > > > -----Original Message----- > > > > From: Sage Weil [mailto:sage@newdream.net] > > > > Sent: Saturday, April 11, 2015 9:19 PM > > > > To: Loic Dachary > > > > Cc: Varada Kari; Matt W. Benjamin; ceph-devel > > > > Subject: Re: loadable objectstore > > > > > > > > On Sat, 11 Apr 2015, Loic Dachary wrote: > > > > > Hi Sage, > > > > > > > > > > It looks like common/PluginRegistry.{h,cc} are missing from > > > > > 18ad8df1094db52c839dc6b2dc689fc882230acb > > > > > > > > whoops pushed! :) > > > > > > > > sage > > > > > > > > > > > > > > Cheers > > > > > > > > > > On 11/04/2015 16:51, Sage Weil wrote: > > > > > > On Sat, 11 Apr 2015, Varada Kari wrote: > > > > > >> Hi Matt/ Sage, > > > > > >> > > > > > >> Thanks for sharing the pull request. Will work on the items > > > what > > > > > >> sage was mentioning in the comments along with the items in > > > > > >> the > > > tracker. > > > > > > > > > > > > I pushed a wip-plugin branch with the pattern I had in mind... > > > > > > does this make sense? It's only compile tested, and still > > > needs > > > > > > preload() methods implemented so that long-running daemons (or > > > > > > perhaps others?) can preload it all at once. > > > > > > > > > > > > Ideally we would replace ErasurePluginRegistry with this too, > > > > > > which means the naming of the .so's needs to be a bit more > > > > > > flexible as the EC plugin scheme is something like > > > > > > /usr/lib/ceph/erasure-code/libec_$name.so (not a strict > > > > > > function > > > > > > > > > of type and name). Or actually, we can just rename the EC > > > > > > .so's > > > > > > > > > when this goes in? Since they're explicitly incompatible > > > between > > > > > > versions there is no reason the names need to remain > > > consistent... > > > > > > > > > > > > sage > > > > > > > > > > > >> > > > > > >> Varada > > > > > >> > > > > > >> -----Original Message----- > > > > > >> From: Sage Weil [mailto:sage@newdream.net] > > > > > >> Sent: Saturday, April 11, 2015 4:16 AM > > > > > >> To: Matt W. Benjamin > > > > > >> Cc: Varada Kari; ceph-devel > > > > > >> Subject: Re: loadable objectstore > > > > > >> > > > > > >> On Fri, 10 Apr 2015, Matt W. Benjamin wrote: > > > > > >>> Hi Varada, > > > > > >>> > > > > > >>> I pushed branch hammer-osfactory to > > > > > >>> https://github.com/linuxbox2/ceph.git > > > > > >>> > > > > > >>> It can at least provide a starting point for discussion, if > > > not > > > > > >>> a jumping off point; I do think it's basically what Sage > > > described. > > > > > >> > > > > > >> I made a few comments on the pull request. I think a factory > > > class is the way to go, but we should be able to make the plugin > > > loading part generic and not interface specific at all... > > > > > >> > > > > > >> sage > > > > > >> > > > > > >>> > > > > > >>> I was able to update the CMake build system to build the > > > > > >>> tree, > > > I > > > > > >>> haven't attempted Autotools. :( > > > > > >>> > > > > > >>> Regards, > > > > > >>> > > > > > >>> Matt > > > > > >>> > > > > > >>> -- > > > > > >>> Matt Benjamin > > > > > >>> CohortFS, LLC. > > > > > >>> 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 > > > > > >>> > > > > > >>> http://cohortfs.com > > > > > >>> > > > > > >>> tel. 734-761-4689 > > > > > >>> fax. 734-769-8938 > > > > > >>> cel. 734-216-5309 > > > > > >>> -- > > > > > >>> To unsubscribe from this list: send the line "unsubscribe > > > ceph-devel" > > > > > >>> in the body of a message to majordomo@vger.kernel.org More > > > > > >>> majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > >>> > > > > > >>> > > > > > >> > > > > > >> ________________________________ > > > > > >> > > > > > >> PLEASE NOTE: The information contained in this electronic > > > > > >> mail > > > message is intended only for the use of the designated recipient(s) > > > named above. If the reader of this message is not the intended > > > recipient, you are hereby notified that you have received this > > > message in error and that any review, dissemination, distribution, > > > or copying of this message is strictly prohibited. If you have > > > received this communication in error, please notify the sender by > > > telephone or e-mail (as shown above) immediately and destroy any and > > > all copies of this message in your possession (whether hard copies > > > or electronically stored copies). > > > > > >> > > > > > >> -- > > > > > >> To unsubscribe from this list: send the line "unsubscribe > > > > > >> ceph-devel" in the body of a message to > > > majordomo@vger.kernel.org > > > > > >> More majordomo info at > > > > > >> http://vger.kernel.org/majordomo-info.html > > > > > >> > > > > > >> > > > > > > -- > > > > > > To unsubscribe from this list: send the line "unsubscribe > > > > > > ceph-devel" in the body of a message to > > > majordomo@vger.kernel.org > > > > > > More majordomo info at > > > http://vger.kernel.org/majordomo-info.html > > > > > > > > > > > > > > > > -- > > > > > Loïc Dachary, Artisan Logiciel Libre > > > > > > > > > > > > > > -- > > > > To unsubscribe from this list: send the line "unsubscribe > > > ceph-devel" > > > > in the body of a message to majordomo@vger.kernel.org More > > majordomo > > > > > > > info at http://vger.kernel.org/majordomo-info.html > > > > > > > > > > > > -- > > 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 > > > > ________________________________ > > > > 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 > > ? & )?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). ________________________________ 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). diff --git a/src/os/filestore/Makefile.am b/src/os/filestore/Makefile.am index de8ec07..77dbc4d 100644 --- a/src/os/filestore/Makefile.am +++ b/src/os/filestore/Makefile.am @@ -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