From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZNhBe-0001Cf-UG for linux-mtd@lists.infradead.org; Fri, 07 Aug 2015 12:55:51 +0000 Received: by oip136 with SMTP id 136so53385480oip.1 for ; Fri, 07 Aug 2015 05:55:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 7 Aug 2015 15:55:29 +0300 Message-ID: Subject: Re: ubifs: nand flash wear profiling for userspace application file i/o From: =?UTF-8?B?0JjQu9GM0Y/RgSDQk9Cw0YHQsNC90L7Qsg==?= To: Richard Weinberger Cc: linux-mtd@lists.infradead.org Content-Type: text/plain; charset=UTF-8 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, 2015-08-07 15:30 GMT+03:00 Richard Weinberger : > 10000 is not much, is this MLC? Maybe, I'm not sure. At least, this is the guaranteed value, not the average one, afaik. > ubinfo prints the maximum erase counter value, does this help? > This info is also available via /sys/class/ubi/ubi0/max_ec. Yes, it does for our purpose. We need to test it for some days though, for precision reasons. > If you want the distribution you have to write a small script which > reads the EC header of all blocks. > But as UBI does wear leveling for you, the distribution should not > matter. Please keep in mind that you need to define a sane > WL threshold. That about covers it, thank you. Best regards, Ilyas Gasanov