From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from a.ns.miles-group.at ([95.130.255.143] helo=radon.swed.at) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YZLv7-0002X8-Gb for linux-mtd@lists.infradead.org; Sat, 21 Mar 2015 16:06:42 +0000 Message-ID: <550D96F2.8020606@nod.at> Date: Sat, 21 Mar 2015 17:06:10 +0100 From: Richard Weinberger MIME-Version: 1.0 To: =?UTF-8?B?IlFpIFdhbmcg546L6LW3IChxaXdhbmcpIg==?= , "Jeff Lauruhn (jlauruhn)" , Boris Brezillon Subject: Re: detect and manage power cut on MLC NAND References: <71CF8D7F32C5C24C9CD1D0E02D52498A7717444D@NTXXIAMBX02.xacn.micron.com> <71CF8D7F32C5C24C9CD1D0E02D52498A771744B0@NTXXIAMBX02.xacn.micron.com> <20150320095822.7e1979ff@bbrezillon> <550BE355.8020009@nod.at> <71CF8D7F32C5C24C9CD1D0E02D52498A7717470C@NTXXIAMBX02.xacn.micron.com> <20150320161903.608a79fc@bbrezillon> <0D23F1ECC880A74392D56535BCADD7354973F4B5@NTXBOIMBX03.micron.com> <71CF8D7F32C5C24C9CD1D0E02D52498A7717482E@NTXXIAMBX02.xacn.micron.com> In-Reply-To: <71CF8D7F32C5C24C9CD1D0E02D52498A7717482E@NTXXIAMBX02.xacn.micron.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Iwo Mergler , "dedekind1@gmail.com" , "rnd4@dave-tech.it" , "Zoltan Szubbocsev \(zszubbocsev\)" , "linux-mtd@lists.infradead.org" , =?UTF-8?B?IkZyYW5rIExpdSDliJjnvqQgKGZyYW5rbGl1KSI=?= , "andrea.marson@dave.eu" , =?UTF-8?B?IkJlYW4gSHVvIA==?= =?UTF-8?B?6ZyN5paM5paMIChiZWFuaHVvKSI=?= List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Am 21.03.2015 um 02:48 schrieb Qi Wang 王起 (qiwang): > For this method, my idea is we can consider page 1 and page4 as one > page, to program page 1 and page 4 together. So if power cut occur, > both page 1 and page 4 (But one page corruption in software view)will > corrupt at same time, won't have issue for UBI/UBIFS. I think we could add a new mtd driver which merges paired pages into bigger pages. We already have "funky" mtd drivers like mtd_concat. What about a mtd_unpair? This mtd driver could also do the scrambling. Boris, what do you think? Thanks, //richard