from whom and when will rbd_cache* be read

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

 



Hi,

under
http://eu.ceph.com/docs/wip-rpm-doc/config-cluster/rbd-config-ref/
I found a good description about RBD cache parameters.

But, I am missing information
- by whom these parameters are evaluated and
- when will this happen ?

My assumption:
- the rbd_cache* parameter will be read by MONs
- rbd.ko will contact MON during 'insmod' or during 'open /dev/rbd*'
	and get the rbd_cache info

Please confirm / correct.


Can I change the parameter only via ceph.conf + restart of MONs,
or can I change rbd_cache on runtime?
e.g.


# ceph --admin-daemon /var/run/ceph/ceph-mon.0.asok   config show | grep rbd_cache
  "rbd_cache": "false",
  "rbd_cache_writethrough_until_flush": "false",
  "rbd_cache_size": "33554432",
  "rbd_cache_max_dirty": "25165824",
  "rbd_cache_target_dirty": "16777216",
  "rbd_cache_max_dirty_age": "1",
  "rbd_cache_block_writes_upfront": "false",

# ceph mon tell   0 injectargs '--rbd_cache true'

# ceph --admin-daemon /var/run/ceph/ceph-mon.0.asok   config show | grep rbd_cache
  "rbd_cache": "true",
  "rbd_cache_writethrough_until_flush": "false",
  "rbd_cache_size": "33554432",
  "rbd_cache_max_dirty": "25165824",
  "rbd_cache_target_dirty": "16777216",
  "rbd_cache_max_dirty_age": "1",
  "rbd_cache_block_writes_upfront": "false",


Regards,
-Dieter
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux