About the compressed file format
A compressed file is a file with compressed extents. A compress call compresses all extents of a file. However, writes to the file cause the affected extents to get uncompressed; the result can be files with both compressed and uncompressed extents.