Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 14:05 +0300, Artem Bityutskiy wrote: > ERROR: "ubi_update_fastmap" [drivers/mtd/ubi/ubi.ko] undefined! > ERROR: "ubi_scan_fastmap" [drivers/mtd/ubi/ubi.ko] undefined! > ERROR: "ubi_calc_fm_size" [drivers/mtd/ubi/ubi.ko] undefined! > > Please, see branch 'linux-next' in UBI to

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 14:05 +0300, Artem Bityutskiy wrote: > On Wed, 2012-10-03 at 10:36 +0200, Richard Weinberger wrote: > > Am Wed, 03 Oct 2012 11:25:45 +0300 > > schrieb Artem Bityutskiy : > > > > > On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > > > > UBI Fastmap is an optional

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 10:36 +0200, Richard Weinberger wrote: > Am Wed, 03 Oct 2012 11:25:45 +0300 > schrieb Artem Bityutskiy : > > > On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > > > UBI Fastmap is an optional feature which stores the physical to > > > logical eraseblock relations

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Richard Weinberger
On 03.10.2012 11:30, Artem Bityutskiy wrote: On Wed, 2012-10-03 at 11:03 +0200, Richard Weinberger wrote: Yeah, it looks like all issues reported by aiaiai are caused by the missing goto. Can you deal with the patch below or do you want me to send it using git send-email? I'll apply it. But

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 11:03 +0200, Richard Weinberger wrote: > Yeah, it looks like all issues reported by aiaiai are caused by the missing > goto. > Can you deal with the patch below or do you want me to send it using git > send-email? I'll apply it. But please, re-work the error handling in tha

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Richard Weinberger
On 03.10.2012 10:44, Artem Bityutskiy wrote: On Wed, 2012-10-03 at 10:36 +0200, Richard Weinberger wrote: Am Wed, 03 Oct 2012 11:25:45 +0300 schrieb Artem Bityutskiy : On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: UBI Fastmap is an optional feature which stores the physical to

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 10:36 +0200, Richard Weinberger wrote: > Am Wed, 03 Oct 2012 11:25:45 +0300 > schrieb Artem Bityutskiy : > > > On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > > > UBI Fastmap is an optional feature which stores the physical to > > > logical eraseblock relations

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-10-03 at 10:36 +0200, Richard Weinberger wrote: > Am Wed, 03 Oct 2012 11:25:45 +0300 > schrieb Artem Bityutskiy : > > > On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > > > UBI Fastmap is an optional feature which stores the physical to > > > logical eraseblock relations

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Richard Weinberger
Am Wed, 03 Oct 2012 11:25:45 +0300 schrieb Artem Bityutskiy : > On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > > UBI Fastmap is an optional feature which stores the physical to > > logical eraseblock relations in a checkpoint (called fastmap) to > > reduce the initialization time o

Re: UBI: Fastmap request for inclusion (v19)

2012-10-03 Thread Artem Bityutskiy
On Wed, 2012-09-26 at 17:51 +0200, Richard Weinberger wrote: > UBI Fastmap is an optional feature which stores the physical to > logical eraseblock relations in a checkpoint (called fastmap) to reduce > the initialization time of UBI. The current init time of UBI is > proportional to the number of

Re: UBI: Fastmap request for inclusion (v19)

2012-09-27 Thread richard -rw- weinberger
On Wed, Sep 26, 2012 at 5:51 PM, Richard Weinberger wrote: > MAINTAINERS |6 + > drivers/mtd/ubi/Kconfig | 20 ++ > drivers/mtd/ubi/Makefile|1 + > drivers/mtd/ubi/attach.c| 386 +++- > drivers/mtd/ubi/build.c | 70 +- > dri

UBI: Fastmap request for inclusion (v19)

2012-09-26 Thread Richard Weinberger
UBI Fastmap is an optional feature which stores the physical to logical eraseblock relations in a checkpoint (called fastmap) to reduce the initialization time of UBI. The current init time of UBI is proportional to the number of physical erase blocks on the FLASH device. With fastmap enabled the s