在 2023/7/7 23:52, Yifan Zhao 写道:
This patch updates erofs driver code to catch up with the latest code of
erofs_utils (commit e4939f9eaa177e05d697ace85d8dc283e25dc2ed).
LZMA will be supported in the separate patch later.
Signed-off-by: Yifan Zhao
Looks good to me.
Reviewed-by: Huang
\
namei.o \
data.o \
Looks good to me.
Reviewed-by: Huang Jianan
Thanks,
Jianan
es: 830613f8f5bb ("fs/erofs: add erofs filesystem support")
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
> ---
> v2:
> keep erofs_err() for block size mismatch
> ---
> fs/erofs/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 del
erofs_err("blksize %u isn't supported on this platform",
+ erofs_dbg("blksize %u isn't supported on this platform",
1 << blkszbits);
return ret;
}
Reviewed-by: Huang Jianan
Thanks,
Jianan
the
generic unaligned read support.
Cc: Huang Jianan
Cc: linux-er...@lists.ozlabs.org
Signed-off-by: Qu Wenruo
Looks good to me,
Reviewed-by: Huang Jianan
Thanks,
Jianan
---
fs/erofs/internal.h | 1 +
fs/erofs/super.c| 6 ++
fs/fs.c | 2 +-
include/erofs.h | 1 +
4
Hi, wenruo,
在 2022/6/28 15:28, Qu Wenruo 写道:
For _fs_read(), @len == 0 means we read the whole file.
And we just pass @len == 0 to make each filesystem to handle it.
In fact we have info->size() call to properly get the filesize.
So we can not only call info->size() to grab the file_size for
在 2022/3/4 3:15, Tom Rini 写道:
On Thu, Mar 03, 2022 at 10:51:18PM +0800, Huang Jianan wrote:
Hi Tom,
Would you mind taking some time to check if this version meets
the requirements ?So we could have a chance to be merged
into the next version ?
I have triggered a CI via Github PR based
Jianan 写道:
Changes since v3:
- update tools/docker/Dockerfile;
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
Support EROFS lz4 compressed files.
Signed-off-by: Huang Jianan
---
fs/erofs/Kconfig | 9 +
fs/erofs/Makefile | 4 +-
fs/erofs/data.c | 90 ++-
fs/erofs/decompress.c | 78 ++
fs/erofs/decompress.h | 24 ++
fs/erofs/namei.c | 2 +-
fs/erofs/zmap.c | 601
Add Python scripts to test 'ls' and 'load' commands, as well as
test related filesystem functions.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 1 +
configs/sandbox_defconfig | 1 +
test/py/tests/test_fs/test_erofs.py | 211
Add 'ls' and 'load' commands.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 1 +
cmd/Kconfig | 6 ++
cmd/Makefile | 1 +
cmd/erofs.c | 42 ++
4 files changed, 50 insertions(+)
create mode 100644 cmd/erofs.c
diff --git a/MAINTAINERS b
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 7 +
fs/Kconfig | 2 +
fs/Makefile | 1 +
fs/erofs/Kconfig| 12 ++
fs/erofs/Makefile | 7 +
fs/erofs/data.c | 223 ++
fs/erofs
Update the LZ4 compression module based on LZ4 v1.8.3 in order to
use the newest LZ4_decompress_safe_partial() which can now decode
exactly the nb of bytes requested.
Signed-off-by: Huang Jianan
---
include/u-boot/lz4.h | 49
lib/lz4.c| 679
Changes since v3:
- update tools/docker/Dockerfile;
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 Python scripts to test 'ls' and 'load' commands, as well as
test related filesystem functions.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 1 +
configs/sandbox_defconfig | 1 +
test/py/tests/test_fs/test_erofs.py | 211
3
Support EROFS lz4 compressed files.
Signed-off-by: Huang Jianan
---
fs/erofs/Kconfig | 9 +
fs/erofs/Makefile | 4 +-
fs/erofs/data.c | 90 ++-
fs/erofs/decompress.c | 78 ++
fs/erofs/decompress.h | 24 ++
fs/erofs/namei.c | 2 +-
fs/erofs/zmap.c | 601
Add 'ls' and 'load' commands.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 1 +
cmd/Kconfig | 6 ++
cmd/Makefile | 1 +
cmd/erofs.c | 42 ++
4 files changed, 50 insertions(+)
create mode 100644 cmd/erofs.c
diff --git a/MAINTAINERS b
Update the LZ4 compression module based on LZ4 v1.8.3 in order to
use the newest LZ4_decompress_safe_partial() which can now decode
exactly the nb of bytes requested.
Signed-off-by: Huang Jianan
---
include/u-boot/lz4.h | 49
lib/lz4.c| 679
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
MAINTAINERS | 7 +
fs/Kconfig | 2 +
fs/Makefile | 1 +
fs/erofs/Kconfig| 12 ++
fs/erofs/Makefile | 7 +
fs/erofs/data.c | 223 ++
fs/erofs
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
在 2022/1/5 19:57, Gao Xiang 写道:
Hi Jianan,
On Wed, Aug 25, 2021 at 06:40:42PM -0400, Tom Rini wrote:
On Mon, Aug 23, 2021 at 08:36:43PM +0800, Huang Jianan wrote:
From: Huang Jianan
Add erofs filesystem support.
The code is adapted from erofs-utils in order to reduce maintenance
burden
在 2021/8/30 21:27, Huang Jianan 写道:
在 2021/8/26 6:39, Tom Rini 写道:
On Mon, Aug 23, 2021 at 08:36:44PM +0800, Huang Jianan wrote:
From: Huang Jianan
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
fs/Kconfig | 1 +
fs/Makefile | 1
在 2021/8/26 6:39, Tom Rini 写道:
On Mon, Aug 23, 2021 at 08:36:45PM +0800, Huang Jianan wrote:
From: Huang Jianan
In order to use the newest LZ4_decompress_safe_partial() which can
now decode exactly the nb of bytes requested.
Signed-off-by: Huang Jianan
---
fs/erofs/Makefile | 3 +-
fs
在 2021/8/26 6:39, Tom Rini 写道:
On Mon, Aug 23, 2021 at 08:36:44PM +0800, Huang Jianan wrote:
From: Huang Jianan
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
fs/Kconfig | 1 +
fs/Makefile | 1 +
fs/erofs/Kconfig| 12
From: Huang Jianan
Support EROFS lz4 compressed files.
Signed-off-by: Huang Jianan
---
fs/erofs/Makefile | 4 +-
fs/erofs/data.c | 84 ++-
fs/erofs/decompress.c | 74 ++
fs/erofs/decompress.h | 29 +++
fs/erofs/namei.c | 2 +-
fs/erofs/zmap.c | 517
From: Huang Jianan
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
fs/Kconfig | 1 +
fs/Makefile | 1 +
fs/erofs/Kconfig| 12 ++
fs/erofs/Makefile | 7 +
fs/erofs/data.c | 124 ++
fs/erofs/erofs_fs.h | 384
From: Huang Jianan
In order to use the newest LZ4_decompress_safe_partial() which can
now decode exactly the nb of bytes requested.
Signed-off-by: Huang Jianan
---
fs/erofs/Makefile | 3 +-
fs/erofs/lz4.c| 534 ++
fs/erofs/lz4.h| 5 +
3
From: Huang Jianan
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
在 2021/8/23 12:24, Bin Meng 写道:
On Mon, Aug 23, 2021 at 12:03 AM Huang Jianan wrote:
From: Huang Jianan
Add erofs filesystem support.
The code is adapted from erofs-utils in order to reduce maintenance
burden and keep with the latest feature.
This patch mainly deals with uncompressed
From: Huang Jianan
Support EROFS lz4 compressed files.
Signed-off-by: Huang Jianan
---
fs/erofs/Makefile | 4 +-
fs/erofs/data.c | 84 ++-
fs/erofs/decompress.c | 74 ++
fs/erofs/decompress.h | 29 +++
fs/erofs/namei.c | 2 +-
fs/erofs/zmap.c | 517
From: Huang Jianan
In order to use the newest LZ4_decompress_safe_partial() which can
now decode exactly the nb of bytes requested.
Signed-off-by: Huang Jianan
---
fs/erofs/Makefile | 3 +-
fs/erofs/lz4.c| 534 ++
fs/erofs/lz4.h| 4 +
3
From: Huang Jianan
Add erofs filesystem support.
The code is adapted from erofs-utils in order to reduce maintenance
burden and keep with the latest feature.
This patch mainly deals with uncompressed files.
Signed-off-by: Huang Jianan
---
fs/Kconfig | 1 +
fs/Makefile
32 matches
Mail list logo