Persistent storage for Mgr Modules

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

 



Hi,

I'm still working on the 'brag' module for the Mgr to send out a report every X interval back to the Ceph project so that we get a feeling of how people use Ceph.

I'd like to store a timestamp of the last report send and then wait for it to expire before sending a new one.

The interval will be something like a week by default and I'd like to store it somewhere persistent.

Obviously I can store it in a local variable, but if the Mgr fails or is restarted so is the module and thus that data is lost.

Is it OK to use the config-key for this? It's not really configuration, but is it allowed to store such values in there?

Thanks,

Wido
--
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