zram: add recompress flag to read_block_state()
[linux-2.6-microblaze.git] / Documentation / admin-guide / blockdev / zram.rst
index c73b169..177a142 100644 (file)
@@ -411,9 +411,10 @@ pages of the process with*pagemap.
 If you enable the feature, you could see block state via
 /sys/kernel/debug/zram/zram0/block_state". The output is as follows::
 
-         300    75.033841 .wh.
-         301    63.806904 s...
-         302    63.806919 ..hi
+         300    75.033841 .wh..
+         301    63.806904 s....
+         302    63.806919 ..hi.
+         303    62.801919 ....r
 
 First column
        zram's block index.
@@ -430,6 +431,8 @@ Third column
                huge page
        i:
                idle page
+       r:
+               recompressed page (secondary compression algorithm)
 
 First line of above example says 300th block is accessed at 75.033841sec
 and the block's state is huge so it is written back to the backing