mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-23 17:53:39 +08:00
b585244e72
Add F2FS compression support for sload * Support file extension filter, either default-accept or default-deny policy * Support choice of compression algorithm, LZO (version 2) or LZ4 (default) * Support custom log of cluster size * Support minimum number of compressed blocks per cluster (default 1). A cluster will not be compressed if the number can not be met. * suuport -r (read-only) option This releases compressed blocks to secure free space in advance. Note that, all compressed files will have the immutable bit. * Added manpage update * Remove unecessary qbuf allocation (Jaegeuk, suggested by Satya) Signed-off-by: Robin Hsu <robinhsu@google.com> [Jaegeuk Kim: fix some bugs and refactor names] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
23 lines
524 B
C
23 lines
524 B
C
/**
|
|
* compress.h
|
|
*
|
|
* Copyright (c) 2020 Google Inc.
|
|
* Robin Hsu <robinhsu@google.com>
|
|
* : add sload compression support
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef COMPRESS_H
|
|
#define COMPRESS_H
|
|
|
|
#include "f2fs_fs.h"
|
|
|
|
extern const char *supported_comp_names[];
|
|
extern compress_ops supported_comp_ops[];
|
|
extern filter_ops ext_filter;
|
|
|
|
#endif /* COMPRESS_H */
|