Trying to set a negative value for `filestore_merge_threshold` in Red Hat Ceph Storage fails with "Invalid argument", why?

Solution Verified - Updated -

Issue

  • While trying to set filestore_merge_threshold = -40, the command returns an "Invalid argument".
# 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"
}

# ceph tell osd.312 injectargs '--filestore_merge_threshold -40'
Parse error setting filestore_merge_threshold to '-40' using injectargs.

Environment

  • Red Hat Ceph Storage 1.3.1
  • ceph-0.94.3-3.el7cp.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content