[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3899237.k0VKClGc8u@blindfold>
Date: Thu, 08 Nov 2018 15:31:53 +0100
From: Richard Weinberger <richard@....at>
To: Boris Brezillon <boris.brezillon@...tlin.com>
Cc: linux-mtd@...ts.infradead.org, juergen.lachmann@...man.com,
linux-kernel@...r.kernel.org, thomas.roeder@...man.com
Subject: Re: [PATCH 2/2] ubi: Expose the bitrot interface
Am Donnerstag, 8. November 2018, 15:26:42 CET schrieb Boris Brezillon:
> On Wed, 7 Nov 2018 23:16:19 +0100
> Richard Weinberger <richard@....at> wrote:
>
> > +/**
> > + * ubi_bitflip_check - Check an eraseblock for bitflips and scrub it if needed.
> > + * @ubi: UBI device description object
> > + * @pnum: the physical eraseblock to schedule
> > + * @force_scrub: force scrubbing if non-zero, schedule erase otherwise
>
> Are you sure about the "schedule erase otherwise"? I'd say force_scrub
> only influence when the scrub operation is done: either unconditionally
> or depending on the result of ubi_io_read().
True. As often, code and documentation diverged a little.
Thanks,
//richard
Powered by blists - more mailing lists