kernel_optimize_test/fs/btrfs
Chris Mason a555f810af 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>
2010-01-28 16:18:15 -05:00
..
acl.c Btrfs: deal with NULL acl sent to btrfs_set_acl 2010-01-17 20:40:22 -05:00
async-thread.c
async-thread.h
btrfs_inode.h
compat.h
compression.c
compression.h
ctree.c Btrfs: Fix per root used space accounting 2009-12-17 12:33:35 -05:00
ctree.h Btrfs: Add mount -o compress-force 2010-01-28 16:18:15 -05:00
delayed-ref.c
delayed-ref.h
dir-item.c Btrfs: Pass transaction handle to security and ACL initialization functions 2009-12-17 12:33:34 -05:00
disk-io.c Btrfs: Add delayed iput 2009-12-17 12:33:35 -05:00
disk-io.h
export.c
export.h
extent_io.c
extent_io.h
extent_map.c
extent_map.h
extent-tree.c Btrfs: fix possible panic on unmount 2010-01-17 20:40:30 -05:00
file-item.c
file.c Btrfs: Fix race in btrfs_mark_extent_written 2010-01-17 20:40:21 -05:00
free-space-cache.c
free-space-cache.h
hash.h
inode-item.c
inode-map.c
inode.c Btrfs: Add mount -o compress-force 2010-01-28 16:18:15 -05:00
ioctl.c Btrfs: Fix per root used space accounting 2009-12-17 12:33:35 -05:00
ioctl.h
Kconfig
locking.c
locking.h
Makefile
ordered-data.c Btrfs: align offsets for btrfs_ordered_update_i_size 2010-01-17 20:06:27 -05:00
ordered-data.h Btrfs: Add delayed iput 2009-12-17 12:33:35 -05:00
orphan.c
print-tree.c
print-tree.h
ref-cache.c
ref-cache.h
relocation.c Btrfs, fix memory leaks in error paths 2010-01-17 20:40:20 -05:00
root-tree.c
struct-funcs.c
super.c Btrfs: Add mount -o compress-force 2010-01-28 16:18:15 -05:00
sysfs.c
transaction.c Btrfs: Fix per root used space accounting 2009-12-17 12:33:35 -05:00
transaction.h
tree-defrag.c
tree-log.c
tree-log.h
version.h
version.sh
volumes.c Btrfs, fix memory leaks in error paths 2010-01-17 20:40:20 -05:00
volumes.h
xattr.c Btrfs: Pass transaction handle to security and ACL initialization functions 2009-12-17 12:33:34 -05:00
xattr.h Btrfs: Pass transaction handle to security and ACL initialization functions 2009-12-17 12:33:34 -05:00
zlib.c