[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1319034155.25389.81.camel@sauron>
Date: Wed, 19 Oct 2011 17:22:28 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Andres Salomon <dilinger@...ued.net>
Cc: David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] jffs2: implement mount option parsing and
compression overriding
On Sun, 2011-10-16 at 18:15 -0700, Andres Salomon wrote:
> Currently jffs2 has compile-time constants (and .config options)
> controlling whether or not the various compression/decompression
> drivers are built in and enabled. This is fine for embedded
> systems, but it clashes with distribution kernels. Distro kernels
> tend to turn on everything; this causes OpenFirmware to fall
> over, as it understands ZLIB-compressed inodes. Booting a kernel
> that has LZO compression enabled, writing to the boot partition,
> and then rebooting causes OFW to fail to read the kernel from
> the filesystem. This is because LZO compression has priority
> when writing new data to jffs2, if LZO is enabled.
>
> This patch adds mount option parsing, and a single supported
> option ("compr=none"). This adds the flexibility of being
> able to specify which compressor overrides on a per-superblock
> basis. For now, we can simply disable compression;
> additional flexibility coming soon.
Pushed both to l2-mtd-2.6.git, thanks!
--
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