Revert "mds: disable delegating inode ranges to clients"

This isn't necessary -- the MDS handles delegating inode ranges
to clients from its preallocated inode set properly - the suspected
bug involving not persisting the sessionmap and causing asserts
during replay isn't an issue. The preallocated set is persisted
with the log event and the MDS correctly rebuild the set from
this information during replay.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
Venky Shankar 2023-10-09 10:36:49 +05:30
parent e90f0e9e00
commit c9d67526b2
4 changed files with 1 additions and 10 deletions

View File

@ -50,9 +50,6 @@
recommend that users with versioned buckets, especially those that existed
on prior releases, use these new tools to check whether their buckets are
affected and to clean them up accordingly.
CephFS: Disallow delegating preallocated inode ranges to clients. Config
`mds_client_delegate_inos_pct` defaults to 0 which disables async dirops
in the kclient.
>=18.0.0

View File

@ -1 +0,0 @@
# Use default (0)

View File

@ -1,5 +0,0 @@
overrides:
ceph:
conf:
mds:
mds_client_delegate_inos_pct: 50

View File

@ -454,7 +454,7 @@ options:
type: uint
level: advanced
desc: percentage of preallocated inos to delegate to client
default: 0
default: 50
services:
- mds
flags: