uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Reviewed-by: Glenn Washburn
Reviewed-by: Gao Xiang
Signed-off-by: Yifan Zhao
---
Res
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests
On 2024/3/1 1:59, Daniel Kiper wrote:
On Mon, Feb 19, 2024 at 02:22:23PM +0800, Yifan Zhao wrote:
EROFS [1] is a lightweight read-only filesystem designed for performance
which has already been shipped in most Linux distributions as well as widely
used in several scenarios, such as Android
iew. In
addition, another interdiff between v4 and v2 (previous RVB version) is
provided to Glenn for reference.
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests for EROFS in grub-fs-tester
.gitignore | 1 +
INSTALL | 8 +-
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
---
INSTALL | 8 +-
Makefile.uti
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests
This interdiff shows the slight change between v4 and v2 for reference.
Interdiff against v2:
diff --git a/INSTALL b/INSTALL
index eb81314d1..545015ba2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -83,7 +83,7 @@ Prerequisites for make-check:
exfat FUSE filesystem
* The following are Debian named pa
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
---
INSTALL | 8 +-
Makefile.uti
On 2024/4/18 16:16, Glenn Washburn wrote:
On Mon, 4 Mar 2024 01:15:54 +0800
Yifan Zhao wrote:
EROFS [1] is a lightweight read-only filesystem designed for performance
which has already been shipped in most Linux distributions as well as widely
used in several scenarios, such as Android
ds in `grub_erofs_map_blocks`
- fix buggy code which does not consider endianness
- use grub_uint8_t* instead of char* for pointer casting in `erofs_read_inode`
- other style and readability improvements according to Glenn's review
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests fo
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests
On 2024/4/22 11:15, Glenn Washburn wrote:
On Fri, 19 Apr 2024 01:12:40 +0800
Yifan Zhao wrote:
On 2024/4/18 16:16, Glenn Washburn wrote:
On Mon, 4 Mar 2024 01:15:54 +0800
Yifan Zhao wrote:
EROFS [1] is a lightweight read-only filesystem designed for performance
which has already been
On 2024/4/22 11:15, Glenn Washburn wrote:
On Fri, 19 Apr 2024 01:12:40 +0800
Yifan Zhao wrote:
On 2024/4/18 16:16, Glenn Washburn wrote:
On Mon, 4 Mar 2024 01:15:54 +0800
Yifan Zhao wrote:
EROFS [1] is a lightweight read-only filesystem designed for performance
which has already been
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
---
INSTALL | 8 +-
Makefile.uti
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
Reviewed-by: Glenn Washburn
---
RVB Link: https://lists.gnu.org/archive/html/grub-devel/2024-04/msg00101.html
.gitignore | 1
uncompressed support together with related tests.
Now, it's possible to boot directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
changelog since v6:
- fix more char* => grub_uint8_t* issue
Thanks! I will deal with it ASAP.
Yifan Zhao
On 2024/4/23 23:08, Daniel Axtens wrote:
Hi,
EROFS [1] is a lightweight read-only filesystem designed for performance
which has already been shipped in most Linux distributions as well as widely
used in several scenarios, such as Android system
mount()
- handle bondary case and memleak in erofs_iterate_dir()
- fix incorrect grub_strnlen() implementation
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests for EROFS in grub-fs-tester
.gitignore | 1 +
INSTALL
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
---
INSTALL | 8 +-
Makefile.uti
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
Reviewed-by: Glenn Washburn
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
n and move it to grub-core/fs/erofs.c
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests for EROFS in grub-fs-tester
.gitignore | 1 +
INSTALL | 8 +-
Makefile.util.def| 7 +
docs/grub.texi | 3 +-
grub
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
---
INSTALL | 8 +-
Makefile.uti
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
Reviewed-by: Glenn Washburn
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
bsequent emails.
Thanks,
Yifan Zhao
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
On 4/29/24 10:15 PM, Vladimir 'phcoder' Serbinenko wrote:
Generally looks good. Few comments. I have missed part of discussion,
so point me to relevant parts of it if I miss something that's already
been discussed
Le mer. 24 avr. 2024, 14:31, Yifan Zhao a
écrit : De qq,
anything will pop up.
Congratulations, as far as I can tell, your filesystem implementation
is one of the most safe against arbitrary input in all of grub.
Thank you once again for your time and contribution!
Kind regards,
Yifan Zhao
For this series:
Tested-by: Daniel Axtens # fuzz test
uncompressed support. Now, it's possible to boot
directly through GRUB with an EROFS rootfs.
EROFS compressed files will be supported later since it has more work to
polish.
[1] https://erofs.docs.kernel.org
Signed-off-by: Yifan Zhao
Tested-by: Daniel Axtens # fuzz testing only
---
Tested-by Link:
ng to Serbinenko's review comments
- add a upper bound for symlink length according to Daniel's advice
Tested-by Link (Commit 1):
https://lists.gnu.org/archive/html/grub-devel/2024-05/msg1.html
Reviewed-by Link (Commit 2):
https://lists.gnu.org/archive/html/grub-devel/2024-04/msg00101.html
In this patch, three tests of EROFS are introduced and they cover
compact, extended and chunk-based inodes, respectively.
Signed-off-by: Yifan Zhao
Reviewed-by: Glenn Washburn
---
Reviewed-by Link:
https://lists.gnu.org/archive/html/grub-devel/2024-04/msg00101.html
.gitignore
Reran v14, and it still correctly passes the fs-tester and correctly
boots the EROFS kernel image.
Thanks,
Yifan Zhao
On 2024/5/17 20:56, Gao Xiang wrote:
[ This is a RESEND version of v13 due to a mis-fix. ]
Hi folks,
EROFS [1] is a lightweight read-only filesystem designed for
Hi Glenn,
erofs-utils supports this -L flag since version 1.6.
Do you think removing the label-related tests to maintain compatibility
with the older versions of erofs-utils is a good idea?
Thanks,
Yifan Zhao
On 2024/6/10 3:33, Glenn Washburn wrote:
I am not running this test and it is
mkfs.erofs with version < 1.6 does not support the -L option.
Let's detect the version of mkfs.erofs and skip the label tests
if it is not supported.
Signed-off-by: Yifan Zhao
---
tests/util/grub-fs-tester.in | 36 ++--
1 file changed, 30 insertio
: Yifan Zhao
---
To test erofs, run `make TESTS=erofs_test check` (maybe need sudo).
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests/util/grub-fs-tester.in | 32 +---
4 files
ectly through GRUB with an EROFS rootfs.
EROFS compressed support will be developed later since it has more work
to polish.
Signed-off-by: Yifan Zhao
---
The link here shows how to boot the kernel from the EROFS partition with this
patch.
https://precious-celery-715.notion.site/Demo-of-booting-kern
changes since v1:
- Rename some fields and fix format issues according to reviewer's comment
Note that all 8 spaces are replaced with tabs, which is not shown in the
interdiff below.
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests for EROFS in grub-fs-t
ectly through GRUB with an EROFS rootfs.
EROFS compressed support will be developed later since it has more work
to polish.
Signed-off-by: Yifan Zhao
---
The link here shows how to boot the kernel from the EROFS partition with this
patch.
https://precious-celery-715.notion.site/Demo-of-booting-kern
: Yifan Zhao
---
To test erofs, run `make TESTS=erofs_test check` (maybe need sudo).
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests/util/grub-fs-tester.in | 32 +---
4 files
ectly through GRUB with an EROFS rootfs.
EROFS compressed support will be developed later since it has more work
to polish.
Signed-off-by: Yifan Zhao
---
The link here shows how to boot the kernel from the EROFS partition with this
patch.
https://precious-celery-715.notion.site/Demo-of-booting-kern
changes since v3:
- Fix according to Xiang's comments.
- Append RVB tags.
Yifan Zhao (2):
fs/erofs: Add support for EROFS
fs/erofs: Add tests for EROFS in grub-fs-tester
.gitignore | 1 +
INSTALL | 8 +-
Makefile.util.def
: Yifan Zhao
---
.gitignore | 1 +
Makefile.util.def| 6 ++
tests/erofs_test.in | 20
tests/util/grub-fs-tester.in | 32 +---
4 files changed, 52 insertions(+), 7 deletions(-)
create mode 100644 tests
ectly through GRUB with an EROFS rootfs.
EROFS compressed support will be developed later since it has more work
to polish.
Reviewed-by: Glenn Washburn
Reviewed-by: Gao Xiang
Signed-off-by: Yifan Zhao
---
The link here shows how to boot the kernel from the EROFS partition with this
patch.
41 matches
Mail list logo