Hi Artem,
Here's one proposal. Please add the no compressed mode support.
In my simple test. it's working with no compress mode.
Yes I know, it makes the performance poor. but we can measure the
metadata operation overhead compare to the previous flash filesystems.
How do you think?
Thank you,
Kyungmin Park
#ifdef CONFIG_UBIFS_FS_NO_COMPR
#define DEFAULT_COMPRESSOR UBIFS_COMPR_NONE
#else
#define DEFAULT_COMPRESSOR UBIFS_COMPR_LZO
#endif
#ifdef CONFIG_UBIFS_FS_NO_COMPR
/* Don't use the compression */
ino->flags = 0;
#else
/* Set compression enabled by default */
ino->flags = cpu_to_le32(UBIFS_COMPR_FL);
#endif
Of course it also adds the UBIFS_FS_NO_COMPR to fs/ubifs/Kconfig properly.
--