[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4821470E.3010108@yandex.ru>
Date: Wed, 07 May 2008 09:07:10 +0300
From: Artem Bityutskiy <dedekind@...dex.ru>
To: Kyungmin Park <kmpark@...radead.org>
CC: LKML <linux-kernel@...r.kernel.org>,
Adrian Hunter <ext-adrian.hunter@...ia.com>
Subject: Re: [PATCH take 2 08/28] UBIFS: add superblock and master node
Hi,
Kyungmin Park wrote:
> 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.
We support "no compression" node already. You may do one of the following:
1. Disable compression support in configuration menu, in which case
"no compression" will be the only option.
2. When you create your file-system with mkfs.ubifs, use "--compr none",
in which case the default compression mode will be "none". But it does
not mean you will not be able to enable compression for certain files.
3. Use "chattr -c <file name>" (or IOC_SETFLAGS ioctl) to disable
compression for a specific file.
>> +/* The default maximum size of reserved pool in bytes */
>> +#define DEFAULT_MAX_RP_SIZE (5*1024*1024)
>> +
>> +/* Default UBIFS compressor */
>> +#define DEFAULT_COMPRESSOR UBIFS_COMPR_LZO
>> +
>
> #ifdef CONFIG_UBIFS_FS_NO_COMPR
> #define DEFAULT_COMPRESSOR UBIFS_COMPR_NONE
> #else
> #define DEFAULT_COMPRESSOR UBIFS_COMPR_LZO
> #endif
DEFAULT_COMPRESSOR is just default compressor which is used
when UBIFS mounts an empty volume and formats it automatically.
You may use mkfs.ubifs instead and pre-format the volume, in which
case you may specify "none" compression method.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists