Re: [PATCH 3/5] btrfs: export compression buffer limits in a header

2017-02-20 Thread Qu Wenruo
At 02/18/2017 02:05 AM, David Sterba wrote: Move the buffer limit definitions out of compress_file_range. Nice one. No longer need to dig the codes to know the 128K limit now. Reviewed-by: Qu Wenruo Thanks, Qu Signed-off-by: David Sterba ---

[PATCH 3/5] btrfs: export compression buffer limits in a header

2017-02-17 Thread David Sterba
Move the buffer limit definitions out of compress_file_range. Signed-off-by: David Sterba --- fs/btrfs/compression.h | 15 +++ fs/btrfs/inode.c | 10 -- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/fs/btrfs/compression.h