Project

General

Profile

Issue #2282

Switch the cache partition to F2FS

Added by Denis 'GNUtoo' Carikli 17 days ago. Updated 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Build system
Target version:
Start date:
10/06/2021
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Galaxy S 3 (I9300), Galaxy S 3 4G (I9305)
Grant:
Type of work:
Build system integration, User testing
#1

Updated by Denis 'GNUtoo' Carikli 17 days ago

The cache partition filesystem is currently ext4.

Not only f2fs was used by Replicant 6, but it's also better adapted to caches as it's a log-structured filesystem.

To do that we need to test first that everything works fine with ext4.

Then we need to switch the cache to f2fs. for all supported devices (at the time of writing, the GT-I9300 and GT-I9305), we need to:
  • Switch the fstab cache entry to f2fs
  • Switch BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE to f2fs in the BoardConfig

In addition we need to add F2FS support to the kernel (kernel_replicant_linux) and find out which options are needed, and see if it works well with selinux as well.

#2

Updated by Denis 'GNUtoo' Carikli 17 days ago

  • Target version changed from Replicant 11.0 to Replicant 11.0 0001

Also available in: Atom PDF