docs: avoid nested indentation due to ronn-ng bug (fixes #249)

Given how long the [issue](https://github.com/apjanke/ronn-ng/issues/16)
is open already, it probably won't be fixed very soon.

Furthermore, this makes the documentation of `tidy_strategy` more
consistent with other options (e.g. `mlock`).
This commit is contained in:
Marcus Holland-Moritz 2025-02-24 21:38:48 +01:00
parent ba7332d2e5
commit 8bfad8c691

View File

@ -146,23 +146,17 @@ options:
in particular will slow down the driver. This defaults to `info` in particular will slow down the driver. This defaults to `info`
in foreground mode (`-f`, `-d`) and to `warn` in background mode. in foreground mode (`-f`, `-d`) and to `warn` in background mode.
- `-o tidy_strategy=`*name*: - `-o tidy_strategy=none`|`time`|`swap`:
Use one of the following strategies to tidy the block cache: Use one of the following strategies to tidy the block cache.
`none` is the default strategy that never tidies the cache. Blocks
- `none`: will only be evicted from the cache if the cache is full and a more
This is the default strategy that never tidies the cache. recently used block is added to the cache. `time` enables a
Blocks will only be evicted from the cache if the cache is time-based tidying strategy. Every `tidy_interval`, the block cache
full and a more recently used block is added to the cache. is traversed and all blocks that have not been accessed for more
than `tidy_max_age` will be removed. `swap` enables a swap-based
- `time`: tidying strategy. Every `tidy_interval`, the block cache is
Time based tidying strategy. Every `tidy_interval`, the block traversed and all blocks that have been fully or partially swapped
cache is traversed and all blocks that have not been accessed out by the kernel will be removed.
for more then `tidy_max_age` will be removed.
- `swap`:
Swap based tidying strategy. Every `tidy_interval`, the block
cache is traversed and all blocks that have been fully or
partially swapped out by the kernel will be removed.
- `-o tidy_interval=`*time*: - `-o tidy_interval=`*time*:
Used only if `tidy_strategy` is not `none`. This is the interval Used only if `tidy_strategy` is not `none`. This is the interval