Description of problem: In the filestore-config-ref we say... filestore merge threshold Description: Min number of files in a subdir before merging into parent NOTE: A > negative value means to disable subdir merging But running the following gives an error. # ceph --admin-daemon /var/run/ceph/ceph-osd.312.asok config set filestore_merge_threshold -40 { "error": "error setting 'filestore_merge_threshold' to '-40': (22) Invalid argument" } Version-Release number of selected component (if applicable): ceph-0.94.3-3.el7cp.x86_64 How reproducible: 100% Steps to Reproduce: 1. ceph --admin-daemon /var/run/ceph/ceph-osd.312.asok config set filestore_merge_threshold -40 Actual results: "error": "error setting 'filestore_merge_threshold' to '-40': (22) Invalid argument" Expected results: "success": "filestore_merge_threshold = '-40' " Additional info: This is being worked in http://tracker.ceph.com/issues/13829
Upstream patch https://github.com/badone/ceph/commit/8b777a0c346bc70fd10d07e89368b3785b58f10e
Merged and back-ported to Hammer upstream.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Brad, buddy could you please post hammer backport link.
Not sure how this got overlooked but I guess I didn't fully understand the process involved at that time. I've created http://tracker.ceph.com/issues/16680 and am working on a backport now.
PR is here, https://github.com/ceph/ceph/pull/10291
Thanks Brad.
Fix is working as required - $ sudo ceph --admin-daemon /var/run/ceph/ceph-osd.3.asok config set filestore_merge_threshold -40 { "success": "filestore_merge_threshold = '-40' " } $ $ sudo ceph --admin-daemon /var/run/ceph/ceph-osd.5.asok config set filestore_merge_threshold -25 { "success": "filestore_merge_threshold = '-25' " } Regards, Vasishta
Changed filestore_merge_treshold to filestore_merge_threshold in several places but apart from that looks good to me.
Flags: requires_doc_text+ → requires_doc_text? Not sure why this happened?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1972.html