diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-01-29 00:18:15 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-01-29 00:18:15 +0300 |
commit | a555f810af6d63ea5960abaed88e150ad95c3011 (patch) | |
tree | 643fd3e94c352dc0006ff9333de8b7b4dc2b8785 /fs/btrfs/tree-defrag.c | |
parent | 11dfe35a0108097f2df1f042c485fa7f758c2cdf (diff) | |
download | linux-a555f810af6d63ea5960abaed88e150ad95c3011.tar.xz |
Btrfs: Add mount -o compress-force
The default btrfs mount -o compress mode will quickly back off
compressing a file if it notices that compression does not reduce the
size of the data being written. This can save considerable CPU because
all future writes to the file go through uncompressed.
But some files are both very large and have mixed data stored in
them. In that case, we want to add the ability to always try
compressing data before writing it.
This commit adds mount -o compress-force. A later commit will add
a new inode flag that does the same thing.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
0 files changed, 0 insertions, 0 deletions