mbox series

[v3,0/5] fs/erofs: new filesystem

Message ID 20220208140513.30570-1-jnhuang95@gmail.com
Headers show
Series fs/erofs: new filesystem | expand

Message

Jianan Huang Feb. 8, 2022, 2:05 p.m. UTC
Changes since v2:
 - sync up with erofs-utils 1.4;
 - update lib/lz4 to v1.8.3;
 - add test for filesystem functions;

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

Huang Jianan (5):
  fs/erofs: add erofs filesystem support
  lib/lz4: update LZ4 decompressor module
  fs/erofs: add lz4 decompression support
  fs/erofs: add filesystem commands
  test/py: Add tests for the erofs

 MAINTAINERS                         |   9 +
 cmd/Kconfig                         |   6 +
 cmd/Makefile                        |   1 +
 cmd/erofs.c                         |  42 ++
 configs/sandbox_defconfig           |   1 +
 fs/Kconfig                          |   2 +
 fs/Makefile                         |   1 +
 fs/erofs/Kconfig                    |  21 +
 fs/erofs/Makefile                   |   9 +
 fs/erofs/data.c                     | 311 +++++++++++++
 fs/erofs/decompress.c               |  78 ++++
 fs/erofs/decompress.h               |  24 +
 fs/erofs/erofs_fs.h                 | 436 ++++++++++++++++++
 fs/erofs/fs.c                       | 267 +++++++++++
 fs/erofs/internal.h                 | 313 +++++++++++++
 fs/erofs/namei.c                    | 252 +++++++++++
 fs/erofs/super.c                    | 105 +++++
 fs/erofs/zmap.c                     | 601 ++++++++++++++++++++++++
 fs/fs.c                             |  22 +
 include/erofs.h                     |  19 +
 include/fs.h                        |   1 +
 include/u-boot/lz4.h                |  49 ++
 lib/lz4.c                           | 679 ++++++++++++++++++++--------
 lib/lz4_wrapper.c                   |  23 +-
 test/py/tests/test_fs/test_erofs.py | 211 +++++++++
 25 files changed, 3268 insertions(+), 215 deletions(-)
 create mode 100644 cmd/erofs.c
 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/namei.c
 create mode 100644 fs/erofs/super.c
 create mode 100644 fs/erofs/zmap.c
 create mode 100644 include/erofs.h
 create mode 100644 test/py/tests/test_fs/test_erofs.py

Comments

Gao Xiang Feb. 10, 2022, 12:43 p.m. UTC | #1
Hi Tom,

Would you mind taking some time having a look at this version
if it meets what's needed, so we could have a chance to be
merged in the next u-boot version?

It's almost in sync with the latest erofs-utils soruce code,
so it can be upgraded easily in the future together with the
later erofs-utils versions.

Thanks,
Gao Xiang

On Tue, Feb 08, 2022 at 10:05:08PM +0800, Huang Jianan wrote:
> Changes since v2:
>  - sync up with erofs-utils 1.4;
>  - update lib/lz4 to v1.8.3;
>  - add test for filesystem functions;
> 
> Changes since v1:
>  - fix the inconsistency between From and SoB;
>  - add missing license header;
> 
> Huang Jianan (5):
>   fs/erofs: add erofs filesystem support
>   lib/lz4: update LZ4 decompressor module
>   fs/erofs: add lz4 decompression support
>   fs/erofs: add filesystem commands
>   test/py: Add tests for the erofs
> 
>  MAINTAINERS                         |   9 +
>  cmd/Kconfig                         |   6 +
>  cmd/Makefile                        |   1 +
>  cmd/erofs.c                         |  42 ++
>  configs/sandbox_defconfig           |   1 +
>  fs/Kconfig                          |   2 +
>  fs/Makefile                         |   1 +
>  fs/erofs/Kconfig                    |  21 +
>  fs/erofs/Makefile                   |   9 +
>  fs/erofs/data.c                     | 311 +++++++++++++
>  fs/erofs/decompress.c               |  78 ++++
>  fs/erofs/decompress.h               |  24 +
>  fs/erofs/erofs_fs.h                 | 436 ++++++++++++++++++
>  fs/erofs/fs.c                       | 267 +++++++++++
>  fs/erofs/internal.h                 | 313 +++++++++++++
>  fs/erofs/namei.c                    | 252 +++++++++++
>  fs/erofs/super.c                    | 105 +++++
>  fs/erofs/zmap.c                     | 601 ++++++++++++++++++++++++
>  fs/fs.c                             |  22 +
>  include/erofs.h                     |  19 +
>  include/fs.h                        |   1 +
>  include/u-boot/lz4.h                |  49 ++
>  lib/lz4.c                           | 679 ++++++++++++++++++++--------
>  lib/lz4_wrapper.c                   |  23 +-
>  test/py/tests/test_fs/test_erofs.py | 211 +++++++++
>  25 files changed, 3268 insertions(+), 215 deletions(-)
>  create mode 100644 cmd/erofs.c
>  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/namei.c
>  create mode 100644 fs/erofs/super.c
>  create mode 100644 fs/erofs/zmap.c
>  create mode 100644 include/erofs.h
>  create mode 100644 test/py/tests/test_fs/test_erofs.py
> 
> -- 
> 2.25.1
Tom Rini Feb. 10, 2022, 1:34 p.m. UTC | #2
On Thu, Feb 10, 2022 at 08:43:20PM +0800, Gao Xiang wrote:

> Hi Tom,
> 
> Would you mind taking some time having a look at this version
> if it meets what's needed, so we could have a chance to be
> merged in the next u-boot version?
> 
> It's almost in sync with the latest erofs-utils soruce code,
> so it can be upgraded easily in the future together with the
> later erofs-utils versions.

Things seem fine, we just need to also update the Dockerfile with tools
so that the tests are run.
Gao Xiang Feb. 10, 2022, 2:08 p.m. UTC | #3
On Thu, Feb 10, 2022 at 08:34:55AM -0500, Tom Rini wrote:
> On Thu, Feb 10, 2022 at 08:43:20PM +0800, Gao Xiang wrote:
> 
> > Hi Tom,
> > 
> > Would you mind taking some time having a look at this version
> > if it meets what's needed, so we could have a chance to be
> > merged in the next u-boot version?
> > 
> > It's almost in sync with the latest erofs-utils soruce code,
> > so it can be upgraded easily in the future together with the
> > later erofs-utils versions.
> 
> Things seem fine, we just need to also update the Dockerfile with tools
> so that the tests are run.

Many thanks! Hopefully Jianan could fill the gap later.

Thanks,
Gao Xiang

> 
> -- 
> Tom