An improved version of patch https://patchwork.kernel.org/patch/9838439/ after Anand's comment that the change also affects properties, this time it addresses the core problem first and then changes the defrag priority over nocompress.
David Sterba (4): btrfs: rename variable holding per-inode compression type btrfs: separate defrag and property compression btrfs: defrag: cleanup checking for compression status btrfs: allow defrag compress to override NOCOMPRESS attribute fs/btrfs/btrfs_inode.h | 9 +++++++-- fs/btrfs/inode.c | 16 +++++++++++----- fs/btrfs/ioctl.c | 16 ++++++++-------- fs/btrfs/props.c | 6 +++--- 4 files changed, 29 insertions(+), 18 deletions(-) -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html