Re: ms crc header: seeking info?

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

 



On Fri, Nov 13, 2015 at 8:31 AM, Artie Ziff <artie.ziff@xxxxxxxxx> wrote:
> Greetings Ceph Users everywhere!
>
> I was hoping to locate an entry for this Ceph configuration setting:
> ms_crc_header
> Would it be here:
> http://docs.ceph.com/docs/master/rados/configuration/ms-ref/
> Or perhaps it is deprecated?
> I have searched Google but I am not satisfied. ;)
>
> Does the "ms crc header" setting affect the behavior in the last field in
> this struct? ("CRC of header")
>
> // From src/include/msgr.h
> struct ceph_msg_header {
>         u64le seq;       // Sequence number.
>         u64le tid;       // Transaction ID.
>         u16le type;      // Message type (CEPH_MSG_* or MSG_*).
>         u16le priority;  // Priority (higher is more important).
>         u16le version;   // Version of message encoding.
>
>         u32le front_len;  // The size of the front section.
>         u32le middle_len; // The size of the middle section.
>         u32le data_len;   // The size of the data section.
>         u16le data_off;   // The way data should be aligned by the reciever.
>
>         ceph_entity_name src; // Information about the sender.
>
>         u16le compat_version; // Oldest compatible encoding version.
>         u16le reserved;       // Unused.
>         u32le crc;            // CRC of header.
> }
>
> Regardless, setting it false appears to be causing my Ceph build to
> misbehave.
> (reader got bad header crc)
> Is that worth further investigation?
> Or just set it to true and carry on?

I think we expect to enable header crc at least. If you want to
disable it, you need to make all osd/client to disable it.

>
> On the historic interwebs I find numerous posts of Ceph configs with
> ms_crc_header set to false. These days is false a recommended setting?
>
> Thanks much!
> az
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



-- 
Best Regards,

Wheat
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux