[PATCH v2 0/3] fs/erofs: new filesystem

Huang Jianan jnhuang95 at gmail.com
Mon Aug 23 22:36:43 AEST 2021


From: Huang Jianan <huangjianan at oppo.com>

Add erofs filesystem support.

The code is adapted from erofs-utils in order to reduce maintenance
burden and keep with the latest feature.

Changes since v1:
 - fix the inconsistency between From and SoB (Bin Meng);
 - add missing license header;

Huang Jianan (3):
  fs/erofs: add erofs filesystem support
  fs/erofs: add lz4 1.8.3 decompressor
  fs/erofs: add lz4 decompression support

 fs/Kconfig            |   1 +
 fs/Makefile           |   1 +
 fs/erofs/Kconfig      |  12 +
 fs/erofs/Makefile     |  10 +
 fs/erofs/data.c       | 206 ++++++++++++++++
 fs/erofs/decompress.c |  74 ++++++
 fs/erofs/decompress.h |  29 +++
 fs/erofs/erofs_fs.h   | 384 ++++++++++++++++++++++++++++++
 fs/erofs/fs.c         | 231 ++++++++++++++++++
 fs/erofs/internal.h   | 203 ++++++++++++++++
 fs/erofs/lz4.c        | 534 ++++++++++++++++++++++++++++++++++++++++++
 fs/erofs/lz4.h        |   5 +
 fs/erofs/namei.c      | 238 +++++++++++++++++++
 fs/erofs/super.c      |  65 +++++
 fs/erofs/zmap.c       | 517 ++++++++++++++++++++++++++++++++++++++++
 fs/fs.c               |  22 ++
 include/erofs.h       |  19 ++
 include/fs.h          |   1 +
 18 files changed, 2552 insertions(+)
 create mode 100644 fs/erofs/Kconfig
 create mode 100644 fs/erofs/Makefile
 create mode 100644 fs/erofs/data.c
 create mode 100644 fs/erofs/decompress.c
 create mode 100644 fs/erofs/decompress.h
 create mode 100644 fs/erofs/erofs_fs.h
 create mode 100644 fs/erofs/fs.c
 create mode 100644 fs/erofs/internal.h
 create mode 100644 fs/erofs/lz4.c
 create mode 100644 fs/erofs/lz4.h
 create mode 100644 fs/erofs/namei.c
 create mode 100644 fs/erofs/super.c
 create mode 100644 fs/erofs/zmap.c
 create mode 100644 include/erofs.h

-- 
2.25.1



More information about the Linux-erofs mailing list