Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for f2fs external storage, Adds f2fs-tools package & f2fs support to kernel/scripts #1089

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

aenertia
Copy link
Contributor

@aenertia aenertia commented Jan 6, 2025

Make kernel CONFIG options consistent for all targets as related to F2FS support.

This adds new f2fs-tools package for supporting f2fs filesystems and required changes to automount scripts
Tested: RGB30, RG353M

    * Add f2fs support in automount script
    + modify udevil to remove compression mount option for btrfs which may
      be cause of queue load
    - add f2fs-tools to virtual package

PKG_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/"
PKG_URL="${PKG_SITE}/snapshot/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libtool e2fsprogs util-linux zlib systemd lzo"
PKG_LONGDESC="NAND flash memory-based storage devices, such as SSD, and SD cards, have been widely being used for ranging from mobile to server systems. Since they are known to have different characteristics from the conventional rotational disks,a file system, an upper layer to the storage device, should adapt to the changes from the sketch. F2FS is a new file system carefully designed for the NAND flash memory-based storage devices. We chose a log structure file system approach, but we tried to adapt it to the new form of storage. Also we remedy some known issues of the very old log structured file system, such as snowball effect of wandering tree and high cleaning overhead. Because a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme aka FTL, we add various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TLDR, maybe change to F2FS is a file system carefully designed for the NAND flash memory-based storage devices.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh I stole this text from the maintainers description verbatim

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

am just waiting to ensure builds for all targets work ok and will update this PR with the automount and kernel bits needed to enable this

@aenertia
Copy link
Contributor Author

aenertia commented Jan 6, 2025 via email

@aenertia aenertia changed the title This adds f2fs-tools package for supportting f2fs filesystems Add support for f2fs external storage, Adds f2fs-tools package & f2fs support to kernel/scripts Jan 6, 2025
@porschemad911
Copy link
Collaborator

Actually it is; The only other reference would be a clone of the kernel.org repo on github. It's rendered with an about/html etc so I would have thought this is the correct reference for the package rather than the github clone.

On Mon, 6 Jan 2025 at 18:16, John Williams @.> wrote: @.* commented on this pull request. ------------------------------ In packages/sysutils/f2fs-tools/package.mk <#1089 (comment)> : > @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX) + + +PKG_NAME="f2fs-tools" +PKG_VERSION="1.16.0" +PKG_LICENSE="GPL" +PKG_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/" This isn't used in the build process right? Update this to be a URL it makes sense to visit, not the .git URL. — Reply to this email directly, view it on GitHub <#1089 (review)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACF5L56BF6E4T2J7XSI3S32JIGUBAVCNFSM6AAAAABUUX6JCWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMZRGM2DANBXHE . You are receiving this because you authored the thread.Message ID: @.***>

All good, I realised and removed my comment earlier.

…2FS support

    * Add f2fs support in automount script
    + modify udevil to remove compression mount option for btrfs which may
      be cause of queue load
    - add f2fs-tools to virtual package

This adds new f2fs-tools package for supportting f2fs filesystems

tested: RGB30, RG353M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants