erasure_code_version() for a new erasure code

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

 



Hi,
I've written a new erasure code for my study purposes. The code has
compiled, but when trying to set a profile with it I get the following
error:

Error EXDEV: expected plugin
/home/ubuntu/ceph/build/lib/libec_optlrc.so version v10.2.2-9-g31e3fbb
but it claims to be an older version instead

I've traced the error to: ErasureCodePlugin.cc :
  if (erasure_code_version == NULL)
    erasure_code_version = an_older_version;
  if (erasure_code_version() != string(CEPH_GIT_NICE_VER)) {
    *ss << "expected plugin " << fname << " version " << CEPH_GIT_NICE_VER
        << " but it claims to be " << erasure_code_version() << " instead";

For some reason, my definition of erasure_code_version doesn't
propagate as it should.
The ErasureCodePlugin cc file of my code is similar to the other
erasure code. With this defined:
const char *__erasure_code_version() { return CEPH_GIT_NICE_VER; }

Can you think of any reason it should behave like this?
Is there any log or method to discover the reason for this issue?

I'd appreciate your help.

Thanks,
Oleg
--
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