erofs: move from drivers/staging/ to fs/

Since 5.4, erofs has been moved into fs/.

Keep up with the 5.10 LTS kernel until the following commit:
dbaf435ddf97 ("erofs: add unsupported inode i_format check")

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Tested-by: Liu Bo <bo.liu@linux.alibaba.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Change-Id: If4827beb38d76d65844e31f9a594010871849918
This commit is contained in:
Gao Xiang 2021-08-30 11:44:53 +08:00 committed by spakkkk
parent 0c8e6c2ec1
commit 7c6e563c72
25 changed files with 2 additions and 51 deletions

View File

@ -122,8 +122,6 @@ source "drivers/staging/gasket/Kconfig"
source "drivers/staging/axis-fifo/Kconfig"
source "drivers/staging/erofs/Kconfig"
source "drivers/staging/qcacld-3.0/Kconfig"
endif # STAGING

View File

@ -51,5 +51,4 @@ obj-$(CONFIG_SOC_MT7621) += mt7621-eth/
obj-$(CONFIG_SOC_MT7621) += mt7621-dts/
obj-$(CONFIG_STAGING_GASKET_FRAMEWORK) += gasket/
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
obj-$(CONFIG_EROFS_FS) += erofs/
obj-$(CONFIG_QCA_CLD_WLAN) += qcacld-3.0/

View File

@ -1,45 +0,0 @@
EROFS is still working in progress, thus it is not suitable
for all productive uses. play at your own risk :)
TODO List:
- add the missing error handling code
(mainly existed in xattr and decompression submodules);
- finalize erofs ondisk format design (which means that
minor on-disk revisions could happen later);
- documentation and detailed technical analysis;
- general code review and clean up
(including confusing variable names and code snippets);
- support larger compressed clustersizes for selection
(currently erofs only works as expected with the page-sized
compressed cluster configuration, usually 4KB);
- support more lossless data compression algorithms
in addition to LZ4 algorithms in VLE approach;
- data deduplication and other useful features.
erofs-mkfs (preview version) binaries for i386 / x86_64 are available at:
https://github.com/hsiangkao/erofs_mkfs_binary
It is still in progress opening mkfs source code to public,
in any case an open-source mkfs will be released in the near future.
Code, suggestions, etc, are welcome. Please feel free to
ask and send patches,
To:
linux-erofs mailing list <linux-erofs@lists.ozlabs.org>
Gao Xiang <gaoxiang25@huawei.com>
Chao Yu <yuchao0@huawei.com>
Cc: (for linux-kernel upstream patches)
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
linux-staging mailing list <devel@driverdev.osuosl.org>

View File

@ -260,6 +260,7 @@ source "fs/pstore/Kconfig"
source "fs/sysv/Kconfig"
source "fs/ufs/Kconfig"
source "fs/exofs/Kconfig"
source "fs/erofs/Kconfig"
endif # MISC_FILESYSTEMS

View File

@ -137,3 +137,4 @@ obj-y += exofs/ # Multiple modules
obj-$(CONFIG_CEPH_FS) += ceph/
obj-$(CONFIG_PSTORE) += pstore/
obj-$(CONFIG_EFIVAR_FS) += efivarfs/
obj-$(CONFIG_EROFS_FS) += erofs/

View File

@ -5,9 +5,6 @@ EROFS_VERSION = "1.0"
ccflags-y += -DEROFS_VERSION=\"$(EROFS_VERSION)\"
obj-$(CONFIG_EROFS_FS) += erofs.o
# staging requirement: to be self-contained in its own directory
ccflags-y += -I$(src)/include
erofs-objs := super.o inode.o data.o namei.o dir.o utils.o
erofs-$(CONFIG_EROFS_FS_XATTR) += xattr.o
erofs-$(CONFIG_EROFS_FS_ZIP) += decompressor.o zmap.o zdata.o