]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mds: disable delegating inode ranges to clients" 53885/head
authorVenky Shankar <vshankar@redhat.com>
Mon, 9 Oct 2023 05:06:49 +0000 (10:36 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 9 Oct 2023 16:52:21 +0000 (22:22 +0530)
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>
PendingReleaseNotes
qa/suites/fs/workload/delegate_inos/default.yaml [deleted file]
qa/suites/fs/workload/delegate_inos/enabled.yaml [deleted file]
src/common/options/mds.yaml.in

index eae5f22efcf7ca28224ccfa6323a486506fd8bd5..1fc9c4510d3e9d0b97bf422044b26332c4e9cc48 100644 (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
 
diff --git a/qa/suites/fs/workload/delegate_inos/default.yaml b/qa/suites/fs/workload/delegate_inos/default.yaml
deleted file mode 100644 (file)
index 219407f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# Use default (0)
diff --git a/qa/suites/fs/workload/delegate_inos/enabled.yaml b/qa/suites/fs/workload/delegate_inos/enabled.yaml
deleted file mode 100644 (file)
index 6c0e0da..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-overrides:
-  ceph:
-    conf:
-      mds:
-        mds_client_delegate_inos_pct: 50
index 4ce457234ba14b289bd4c03b5756d68e5096a966..2599b6532b5dc9a16c1e345178d755ba6ec5ef75 100644 (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: