Bug 1284696
Summary: | config set with negative value results in "error setting 'filestore_merge_threshold' to '-40': (22) Invalid argument" | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Brad Hubbard <bhubbard> |
Component: | RADOS | Assignee: | Brad Hubbard <bhubbard> |
Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
Priority: | medium | ||
Version: | 1.3.1 | CC: | bhubbard, ceph-eng-bugs, dzafman, flucifre, hnallurv, kchai, kdreyer, vashastr, vumrao |
Target Milestone: | rc | Keywords: | Patch |
Target Release: | 1.3.3 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
."filestore_merge_threshold" can be set to a negative value as expected
If the `filestore_merge_threshold` parameter is set to a negative value, merging of subdirectories is disabled. Previously, an attempt to set `filestore_merge_threshold` to a negative value by using the command line failed and an error message similar to the following one was returned:
----
"error": "error setting 'filestore_merge_threshold' to '-40': (22) Invalid argument"
----
As a consequence, it was not possible to disable merging of subdirectories. This bug has been fixed, and `filestore_merge_threshold` can now be set to a negative value as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-29 12:55:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1348597, 1372735 |
Description
Brad Hubbard
2015-11-23 23:08:29 UTC
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 |