Btrfs: fix autodefrag with compression
authorChris Mason <clm@fb.com>
Tue, 26 Aug 2014 20:55:54 +0000 (13:55 -0700)
committerChris Mason <clm@fb.com>
Wed, 27 Aug 2014 15:45:37 +0000 (08:45 -0700)
commite9512d72e8e61c750c90efacd720abe3c4569822
treebaf130dd52f12cdf4a5f9e0ef18514aa710009e1
parent9e0af23764344f7f1b68e4eefbe7dc865018b63d
Btrfs: fix autodefrag with compression

The autodefrag code skips defrag when two extents are adjacent.  But one
big advantage for autodefrag is cutting down on the number of small
extents, even when they are adjacent.  This commit changes it to defrag
all small extents.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c