]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm/cephadmlib/daemons/ceph.py: increase aio-max-nr 62501/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 25 Mar 2025 17:22:29 +0000 (17:22 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 25 Mar 2025 17:22:29 +0000 (17:22 +0000)
Previous work increased the aio-max-nr to 1048576 [1].
Crimson-osd might need this value to be larger in order
to deploy correctly.
In future work, if this turns out to be tricky, we can update
cephadm to make use of `90-ceph-osd.conf` file which changes between
build types. See possible usage in sysctl.py.
For now, increasing the value for any Class OSD should work.

[1] https://github.com/ceph/ceph/pull/41264

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/cephadm/cephadmlib/daemons/ceph.py

index e29bf127e0bc22154c1e43076317df28c15b7ec5..40061672d06e5b2758322803e8d1ee772c2f178b 100644 (file)
@@ -258,7 +258,7 @@ class OSD(Ceph):
     def get_sysctl_settings() -> List[str]:
         return [
             '# allow a large number of OSDs',
-            'fs.aio-max-nr = 1048576',
+            'fs.aio-max-nr = 2097152',
             'kernel.pid_max = 4194304',
         ]