mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
Documentation: ext4: atomic_writes: Demote last three sections
Last three sections of atomic block writes documentation are adorned as
first-level title headings, which erroneously increase toctree entries
in overview.rst. Demote them.
Fixes: 0bf1f51e34 ("ext4: Add atomic block write documentation")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Acked-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250620105643.25141-5-bagasdotme@gmail.com
This commit is contained in:
parent
859fac2cd6
commit
5717d2dc3a
|
|
@ -148,10 +148,10 @@ reserved during:
|
|||
only required to handle a split extent across leaf blocks.
|
||||
|
||||
How to
|
||||
------
|
||||
~~~~~~
|
||||
|
||||
Creating Filesystems with Atomic Write Support
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
First check the atomic write units supported by block device.
|
||||
See :ref:`atomic_write_bdev_support` for more details.
|
||||
|
|
@ -176,7 +176,7 @@ Where ``-b`` specifies the block size, ``-C`` specifies the cluster size in byte
|
|||
and ``-O bigalloc`` enables the bigalloc feature.
|
||||
|
||||
Application Interface
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Applications can use the ``pwritev2()`` system call with the ``RWF_ATOMIC`` flag
|
||||
to perform atomic writes:
|
||||
|
|
@ -204,7 +204,7 @@ writes are supported.
|
|||
.. _atomic_write_bdev_support:
|
||||
|
||||
Hardware Support
|
||||
----------------
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
The underlying storage device must support atomic write operations.
|
||||
Modern NVMe and SCSI devices often provide this capability.
|
||||
|
|
@ -217,7 +217,7 @@ Nonzero values for these attributes indicate that the device supports
|
|||
atomic writes.
|
||||
|
||||
See Also
|
||||
--------
|
||||
~~~~~~~~
|
||||
|
||||
* :doc:`bigalloc` - Documentation on the bigalloc feature
|
||||
* :doc:`allocators` - Documentation on block allocation in ext4
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user