linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tanya Brokhman <tlinder@codeaurora.org>
To: Richard Weinberger <richard.weinberger@gmail.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>,
	linux-arm-msm@vger.kernel.org,
	Pratibhasagar V <pratibha@codeaurora.org>,
	open list <linux-kernel@vger.kernel.org>,
	dedeking1@gmail.com,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [RFC/PATCH 5/5] mtd: ubi: Add sysfs entry to force all pebs' scan
Date: Sun, 28 Sep 2014 11:53:56 +0300	[thread overview]
Message-ID: <5427CCA4.6060909@codeaurora.org> (raw)
In-Reply-To: <CAFLxGvz5RXmC3vuCWkNSiAn91j6dC_9Q9XF3njObb_jBbL-ohw@mail.gmail.com>

On 9/28/2014 11:42 AM, Richard Weinberger wrote:
> Tanya,
>
> On Sun, Sep 28, 2014 at 8:38 AM, Tanya Brokhman <tlinder@codeaurora.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

      reply	other threads:[~2014-09-28  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28  6:38 [RFC/PATCH 5/5] mtd: ubi: Add sysfs entry to force all pebs' scan Tanya Brokhman
2014-09-28  8:42 ` Richard Weinberger
2014-09-28  8:53   ` Tanya Brokhman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5427CCA4.6060909@codeaurora.org \
    --to=tlinder@codeaurora.org \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dedeking1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=pratibha@codeaurora.org \
    --cc=richard.weinberger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).