[PATCH v2] docs: bcachefs: fix typo in idle_work documentation

Sahil posted 1 patch 1 month, 1 week ago
Documentation/filesystems/bcachefs/future/idle_work.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH v2] docs: bcachefs: fix typo in idle_work documentation
Posted by Sahil 1 month, 1 week ago
Fix minor spelling mistake in idle_work:

- heirarchy -> hierarchy

Changes in v2:
- Dropped cgroup, idle changes (already being fixed)
- Dropped xfs changes (already fixed)
- Only keep bcachefs doc fix

Link: 
https://lore.kernel.org/linux-doc/23de3jgp44vih5g6hjgc2ji6momi5t3w7rfkm5mgtajicbbg7a@7r5hgt5e7eir/
Based on v6.17-rc2.

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sahil Chandna <chandna.linuxkernel@gmail.com>
---
Documentation/filesystems/bcachefs/future/idle_work.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/bcachefs/future/idle_work.rst 
b/Documentation/filesystems/bcachefs/future/idle_work.rst
index 59a332509dcd..f1202113dde0 100644
--- a/Documentation/filesystems/bcachefs/future/idle_work.rst
+++ b/Documentation/filesystems/bcachefs/future/idle_work.rst
@@ -11,10 +11,10 @@ idle" so the system can go to sleep. We don't want 
to be dribbling out
background work while the system should be idle.
The complicating factor is that there are a number of background tasks, 
which
-form a heirarchy (or a digraph, depending on how you divide it up) - one
+form a hierarchy (or a digraph, depending on how you divide it up) - one
background task may generate work for another.
-Thus proper idle detection needs to model this heirarchy.
+Thus proper idle detection needs to model this hierarchy.
- Foreground writes
- Page cache writeback
@@ -51,7 +51,7 @@ IDLE REGIME
When the system becomes idle, we should start flushing our pending work
quicker so the system can go to sleep.
-Note that the definition of "idle" depends on where in the heirarchy a task
+Note that the definition of "idle" depends on where in the hierarchy a task
is - a task should start flushing work more quickly when the task above 
it has
stopped generating new work.

-- 
2.34.1
Re: [PATCH v2] docs: bcachefs: fix typo in idle_work documentation
Posted by Kent Overstreet 1 month, 1 week ago
On Sat, Aug 23, 2025 at 05:05:33PM +0530, Sahil wrote:
> Fix minor spelling mistake in idle_work:
> 
> - heirarchy -> hierarchy
> 
> Changes in v2:
> - Dropped cgroup, idle changes (already being fixed)
> - Dropped xfs changes (already fixed)
> - Only keep bcachefs doc fix
> 
> Link: https://lore.kernel.org/linux-doc/23de3jgp44vih5g6hjgc2ji6momi5t3w7rfkm5mgtajicbbg7a@7r5hgt5e7eir/
> Based on v6.17-rc2.

please rebase here:
https://evilpiepirate.org/git/bcachefs.git

> 
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Sahil Chandna <chandna.linuxkernel@gmail.com>
> ---
> Documentation/filesystems/bcachefs/future/idle_work.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/filesystems/bcachefs/future/idle_work.rst
> b/Documentation/filesystems/bcachefs/future/idle_work.rst
> index 59a332509dcd..f1202113dde0 100644
> --- a/Documentation/filesystems/bcachefs/future/idle_work.rst
> +++ b/Documentation/filesystems/bcachefs/future/idle_work.rst
> @@ -11,10 +11,10 @@ idle" so the system can go to sleep. We don't want to be
> dribbling out
> background work while the system should be idle.
> The complicating factor is that there are a number of background tasks,
> which
> -form a heirarchy (or a digraph, depending on how you divide it up) - one
> +form a hierarchy (or a digraph, depending on how you divide it up) - one
> background task may generate work for another.
> -Thus proper idle detection needs to model this heirarchy.
> +Thus proper idle detection needs to model this hierarchy.
> - Foreground writes
> - Page cache writeback
> @@ -51,7 +51,7 @@ IDLE REGIME
> When the system becomes idle, we should start flushing our pending work
> quicker so the system can go to sleep.
> -Note that the definition of "idle" depends on where in the heirarchy a task
> +Note that the definition of "idle" depends on where in the hierarchy a task
> is - a task should start flushing work more quickly when the task above it
> has
> stopped generating new work.
> 
> -- 
> 2.34.1
>