diff options
author | Filipe Manana <fdmanana@gmail.com> | 2014-03-01 05:55:54 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fb.com> | 2014-03-10 15:17:16 -0400 |
commit | dec8ef90552f7b8cc6612daa2e3aa3a2212b0402 (patch) | |
tree | 6369b052c7bce2c06ce2ec00142437ae02cd1f92 /fs/btrfs/async-thread.c | |
parent | d458b0540ebd728b4d6ef47cc5ef0dbfd4dd361a (diff) |
Btrfs: correctly flush data on defrag when compression is enabled
When the defrag flag BTRFS_DEFRAG_RANGE_START_IO is set and compression
enabled, we weren't flushing completely, as writing compressed extents
is a 2 steps process, one to compress the data and another one to write
the compressed data to disk.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions