Skip to content

Commit 4859fef

Browse files
committed
Merge PR ceph#53176 into main
* refs/pull/53176/head: doc: add note for removing (automatic) partitioning policy Reviewed-by: Patrick Donnelly <[email protected]> Reviewed-by: Rishabh Dave <[email protected]> Reviewed-by: Milind Changire <[email protected]>
2 parents d6b8162 + 20d027e commit 4859fef

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/cephfs/multimds.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,20 @@ For the reverse situation:
226226
The ``home/patrick`` directory and its children will be pinned to rank 2
227227
because its export pin overrides the policy on ``home``.
228228

229+
To remove a partitioning policy, remove the respective extended attribute
230+
or set the value to 0.
231+
232+
.. code::bash
233+
$ setfattr -n ceph.dir.pin.distributed -v 0 home
234+
# or
235+
$ setfattr -x ceph.dir.pin.distributed home
236+
237+
For export pins, remove the extended attribute or set the extended attribute
238+
value to `-1`.
239+
240+
.. code::bash
241+
$ setfattr -n ceph.dir.pin -v -1 home
242+
229243
230244
Dynamic subtree partitioning with Balancer on specific ranks
231245
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)