Format zonefs I/O error processing table as reST grid table. Signed-off-by: Bagas Sanjaya --- Documentation/filesystems/zonefs.rst | 53 +++++++++++++++++----------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/Documentation/filesystems/zonefs.rst b/Documentation/filesystems/zonefs.rst index 58cfb1183589dd..a2e97bd69b6347 100644 --- a/Documentation/filesystems/zonefs.rst +++ b/Documentation/filesystems/zonefs.rst @@ -255,30 +255,41 @@ permissions. Further action taken by zonefs I/O error recovery can be controlled by the user with the "errors=xxx" mount option. The table below summarizes the result of zonefs I/O error processing depending on the mount option and on the zone -conditions:: +conditions: +--------------+-----------+-----------------------------------------+ | | | Post error state | - | "errors=xxx" | device | access permissions | - | mount | zone | file file device zone | - | option | condition | size read write read write | - +--------------+-----------+-----------------------------------------+ - | | good | fixed yes no yes yes | - | remount-ro | read-only | as is yes no yes no | - | (default) | offline | 0 no no no no | - +--------------+-----------+-----------------------------------------+ - | | good | fixed yes no yes yes | - | zone-ro | read-only | as is yes no yes no | - | | offline | 0 no no no no | - +--------------+-----------+-----------------------------------------+ - | | good | 0 no no yes yes | - | zone-offline | read-only | 0 no no yes no | - | | offline | 0 no no no no | - +--------------+-----------+-----------------------------------------+ - | | good | fixed yes yes yes yes | - | repair | read-only | as is yes no yes no | - | | offline | 0 no no no no | - +--------------+-----------+-----------------------------------------+ + | | +--------+---------------+----------------+ + | | | | access permissions | + | "errors=xxx" | device | file +---------------+----------------+ + | mount | zone | size | file | device zone | + | option | condition | +-------+-------+--------+-------+ + | | | | read | write | read | write | + +==============+===========+========+=======+=======+========+=======+ + | | good | fixed | yes | no | yes | yes | + | +-----------+--------+-------+-------+--------+-------+ + | remount-ro | read-only | as is | yes | no | yes | no | + | (default) +-----------+--------+-------+-------+--------+-------+ + | | offline | 0 | no | no | no | no | + +--------------+-----------+--------+-------+-------+--------+-------+ + | | good | fixed | yes | no | yes | yes | + | +-----------+--------+-------+-------+--------+-------+ + | zone-ro | read-only | as is | yes | no | yes | no | + | +-----------+--------+-------+-------+--------+-------+ + | | offline | 0 | no | no | no | no | + +--------------+-----------+--------+-------+-------+--------+-------+ + | | good | 0 | no | no | yes | yes | + | +-----------+--------+-------+-------+--------+-------+ + | zone-offline | read-only | 0 | no | no | yes | no | + | +-----------+--------+-------+-------+--------+-------+ + | | offline | 0 | no | no | no | no | + +--------------+-----------+--------+-------+-------+--------+-------+ + | | good | fixed | yes | yes | yes | yes | + | +-----------+--------+-------+-------+--------+-------+ + | repair | read-only | as is | yes | no | yes | no | + | +-----------+--------+-------+-------+--------+-------+ + | | offline | 0 | no | no | no | no | + +--------------+-----------+--------+-------+-------+--------+-------+ Further notes: -- An old man doll... just what I always wanted! - Clara