Commit 1b55767d authored by Gao Xiang's avatar Gao Xiang
Browse files

erofs: fix broken illustration in documentation

Illustration was broken after ReST conversion by accident.
(checked by 'make SPHINXDIRS="filesystems" htmldocs')

Link: https://lore.kernel.org/r/20210510162506.28637-1-xiang@kernel.org


Fixes: e66d8631 ("docs: filesystems: convert erofs.txt to ReST")
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarGao Xiang <xiang@kernel.org>
parent 6efb943b
Loading
Loading
Loading
Loading
+59 −60
Original line number Diff line number Diff line
@@ -204,7 +204,6 @@ algorithm (could refer to the related source code).
       \                          |                           * could have
        \                         |                             trailing '\0'
         \________________________| nameoff0

                             Directory block

Note that apart from the offset of the first filename, nameoff0 also indicates
@@ -216,21 +215,21 @@ Compression
Currently, EROFS supports 4KB fixed-sized output transparent file compression,
as illustrated below::

	    |---- Variant-Length Extent ----|-------- VLE --------|----- VLE -----
          |<-    variable-sized extent    ->|<-       VLE         ->|
        clusterofs                        clusterofs              clusterofs
	    |                               |                     |   logical data
    _________v_______________________________v_____________________v_______________
    ... |    .        |             |        .    |             |  .          | ...
    ____|____.________|_____________|________.____|_____________|__.__________|____
	|-> cluster <-|-> cluster <-|-> cluster <-|-> cluster <-|-> cluster <-|
	    size          size          size          size          size
          |                                 |                       |
 _________v_________________________________v_______________________v________
 ... |    .         |              |        .     |              |  .   ...
 ____|____._________|______________|________.___ _|______________|__.________
     |-> lcluster <-|-> lcluster <-|-> lcluster <-|-> lcluster <-|
          size           size           size           size   .             .
           .                            .                .              .
            .                       .               .               .
             .                   .              .               .
	_______._____________._____________._____________._____________________
	    ... |             |             |             | ... physical data
	_______|_____________|_____________|_____________|_____________________
		|-> cluster <-|-> cluster <-|-> cluster <-|
       _______.______________.______________.______________._________________
          ... |              |              |              | ...
       _______|______________|______________|______________|_________________
              |-> pcluster <-|-> pcluster <-|-> pcluster <-|
                    size           size           size

Currently each on-disk physical cluster can contain 4KB (un)compressed data