diff options
| author | Wang Shilong <[email protected]> | 2014-06-30 10:51:25 +0800 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-09-17 13:37:19 -0700 |
| commit | 4027e0f4c4b2df28d564560a3c65c179bebae4c8 (patch) | |
| tree | 64a0fcf3ad7ee643f9049fcefa52bd22059c461e /tools/perf/scripts/python/netdev-times.py | |
| parent | ed6078f70335f158ca79790a0d0708ce558a6e9a (diff) | |
Btrfs: clear compress-force when remounting with compress option
Steps to reproduce:
# mkfs.btrfs -f /dev/sdb
# mount /dev/sdb /mnt -o compress-force=lzo
# mount /dev/sdb /mnt -o remount,compress=zlib
# cat /proc/mounts
Remounting from compress-force to compress could not clear compress-force
option. The problem is there is no way for users to clear compress-force
option separately.
Fix this problem by clearing @FORCE_COMPRESS flag when remounting to
compress=xxx.
Suggested-by: Tsutomu Itoh <[email protected]>
Signed-off-by: Wang Shilong <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Reviewed-by: Satoru Takeuchi <[email protected]>
Tested-by: Satoru Takeuchi <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions