Skip to content

Commit c9d6752

Browse files
committed
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 <[email protected]>
1 parent e90f0e9 commit c9d6752

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

PendingReleaseNotes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
recommend that users with versioned buckets, especially those that existed
5151
on prior releases, use these new tools to check whether their buckets are
5252
affected and to clean them up accordingly.
53-
CephFS: Disallow delegating preallocated inode ranges to clients. Config
54-
`mds_client_delegate_inos_pct` defaults to 0 which disables async dirops
55-
in the kclient.
5653

5754
>=18.0.0
5855

qa/suites/fs/workload/delegate_inos/default.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

qa/suites/fs/workload/delegate_inos/enabled.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/common/options/mds.yaml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ options:
454454
type: uint
455455
level: advanced
456456
desc: percentage of preallocated inos to delegate to client
457-
default: 0
457+
default: 50
458458
services:
459459
- mds
460460
flags:

0 commit comments

Comments
 (0)