Bump the max number of inodes for /dev to 128k
authorFranck Bui <fbui@suse.com>
Fri, 3 Dec 2021 10:23:36 +0000 (11:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Jan 2022 18:12:20 +0000 (19:12 +0100)
commitb1bb976219e4c63d4b8099a2820fedbedf0aa8a5
tree06ed1b034bc5d1c5236d26c10ec3dbeedc84ac1f
parenta9149ef71dbfafd964b4e509690418be602c6eb6
Bump the max number of inodes for /dev to 128k

Follow-up for 7d85383edbab73274dc81cc888d884bb01070bc2.

Apparently the previous limit set on the max number of inodes for /dev was too
small as a system with 4096 LUNs attached can consume up to 95k inodes for
symlinks:

  # /bin/df -i
  Filesystem                 Inodes  IUsed    IFree IUse% Mounted on
  devtmpfs                 49274377  95075 49179302    1% /dev

Hence this patch bumps the limit from 64k to 128k although the new limit is
still pretty arbitrary (that said, not sure if it really makes sense to put
such absolute limit number).

(cherry picked from commit 4c733d3046942984c5f73b40c3af39cc218c103f)
src/shared/mount-util.h