Re: RADOS extensions directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 05-11-12 10:30, Pascal de Bruijn wrote:
Hi,

In light of #cephday I noticed something that struck me as odd. The
presenation listed the following as the RADOS extensions directory (if I
recall correctly):

/var/lib/rados/*.so

/var/lib/rados-classes/*.so

It's handled by this configuration option:

OPTION(osd_class_dir, OPT_STR, CEPH_LIBDIR "/rados-classes")

I think however that Sage's slide was wrong, my configuration is:

-DCEPH_LIBDIR="/usr/lib"

On my system I also have /usr/lib/rados-classes/*.so

It might have been a old build issue, since I also recall it being in /var/lib


However, it's very atypical to have shared libraries in /var. As far as
I know /var/lib is typically used for persistent (non-executable)
storage (think dpkg for example).

So I'm guessing /usr/lib/rados/*.so would probably be a more suitable
home for the RADOS extensions.

While this isn't the most important thing in the world, I guess it makes
sense to change this now as it's not a commonly used feature yet (read
there are no third party packages depending on this location yet).

In addition when submitting the code for inclusion into Debian/Fedora, I
wouldn't be surprised if they had similar "objections".


Looking at debian/ceph.install it also packages /usr/lib/rados-classes.

At #cephday I briefly spoke to Wido about this, if I recall correctly he
confirmed this was sortof a known issue. If that's correct please view
this e-mail just as a reminder or something.


Seems resolved already, although I'm not sure if I would do "rados-classes"? Maybe /usr/lib/rados/classes/* ?

Wido

Regards,
Pascal de Bruijn
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux