[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5427CCA4.6060909@codeaurora.org>
Date: Sun, 28 Sep 2014 11:53:56 +0300
From: Tanya Brokhman <tlinder@...eaurora.org>
To: Richard Weinberger <richard.weinberger@...il.com>
CC: Artem Bityutskiy <dedekind1@...il.com>,
linux-arm-msm@...r.kernel.org,
Pratibhasagar V <pratibha@...eaurora.org>,
open list <linux-kernel@...r.kernel.org>, dedeking1@...il.com,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
Brian Norris <computersforpeace@...il.com>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [RFC/PATCH 5/5] mtd: ubi: Add sysfs entry to force all pebs'
scan
On 9/28/2014 11:42 AM, Richard Weinberger wrote:
> Tanya,
>
> On Sun, Sep 28, 2014 at 8:38 AM, Tanya Brokhman <tlinder@...eaurora.org> wrote:
>> A given eraseblock can be read many times or not at all.
>> We do not have the account of such eraseblocks that have
>> not been accessed since a pre-defined threshold interval.
>> By means of scanning the entire flash device it is possible to identify
>> all such eraseblocks.
>>
>> Add a sysfs entry to force scan on all the PEBs on demand basis.
>>
>> The sysfs entry would be available under /sys/class/ubi/ubiX/peb_scan
>> - echo 1 to this entry would trigger the scan, ignored if in progress
>> - On reading returns the scan status (1 = Scan executing, 0 = Scan not
>> executing)
>
> Did you see that?
> http://linux-kernel.2935.n7.nabble.com/RFC-UBI-bitrot-checking-td949453.html
> Maybe we can combine our work.
> Although your patch seems to be in better shape than mine. :)
oh, I'm sorry, missed that (its new :) )
this patch was tested thoroughly and working. I would appreciate if you
could review this patch and perhaps we could improve it if required.
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
--
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