From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lpp01m010-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Rd6dV-0000xn-77 for linux-mtd@lists.infradead.org; Tue, 20 Dec 2011 20:50:09 +0000 Received: by lahc1 with SMTP id c1so5027622lah.36 for ; Tue, 20 Dec 2011 12:50:04 -0800 (PST) Subject: Re: [PATCH v2] mtd: nand: write bad block marker even with BBT From: Artem Bityutskiy To: Brian Norris Date: Tue, 20 Dec 2011 22:49:54 +0200 In-Reply-To: References: <1324332231-30884-1-git-send-email-computersforpeace@gmail.com> <4EF04C33.7060805@linutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Message-ID: <1324414200.2611.1.camel@koala> Mime-Version: 1.0 Cc: Baruch Siach , Dan Carpenter , Barry Song <21cnbao@gmail.com>, Sebastian Andrzej Siewior , Nicolas Ferre , Dominik Brodowski , Adrian Hunter , Gabor Juhos , linux-mtd@lists.infradead.org, Jonas Gorski , Jamie Iles , Ivan Djelic , Robert Jarzmik , David Woodhouse , Maxim Levitsky , Dmitry Eremin-Solenikov , Kevin Cernekee , Kulikov Vasiliy , Jim Quinlan , Andres Salomon , Axel Lin , Anatolij Gustschin , Mike Frysinger , Arnd Bergmann , Lei Wen , Sascha Hauer , Artem Bityutskiy , Florian Fainelli , Peter Wippich , Matthieu CASTET , Kyungmin Park , Shmulik Ladkani , Wolfram Sang , Chuanxiao Dong , Joe Perches , Guillaume LECERF , Roman Tereshonkov Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2011-12-20 at 10:17 -0800, Brian Norris wrote: > > I use BBT because I > > have no room left in OOB or updating a single area in OOB is too > > complicated / hardly possible. > > In the former case, reading that area again and interpreting it as > > something as it was once is a bad thing. > > Well, then that is one case where you want an option to avoid writing > to markers back to OOB. We may need an option flag to enforce the old > behavior. I guess there should be some way of detecting this case (no space in OOB) and just not writing. Artem.