No subject


Mon Jun 27 16:47:34 EDT 2011


size of NAND.

Please have a correction or any idea will be highly recommended.

Thanks,
Alex

On Wed, Apr 20, 2011 at 3:30 PM, Artem Bityutskiy <dedekind1 at gmail.com> wro=
te:
> Hi,
>
> On Wed, 2011-04-20 at 11:19 +0800, Nicholas wrote:
>> Dear Artem,
>>
>> Sorry for my late reply .
>
> Please, send proper Linux kernel patches. Hints:
>
> 1. Make a separate patch pere change, so that on modification is done by
> one patch. In your case, one buffer improvement pere patch.
> 2. Write good commit message.
> 3. Use git format-patch to create patches.
>
>>
>> #define MTD_SMALL_SIZE_PAGE_BLOCK_SIZE =C2=A0 =C2=A0 =C2=A0 =C2=A00x4000=
0 // block size for 2KB
>
> No, please just make buffer size to be ubi->max_write_size. Kill this
> constant.
>
>> orphan.c
>> In ubifs_mount_orphans()
>> c->orph_buf =3D vmalloc((c->leb_size)/4); // for temporary
>
> Similarly, just use ubi->max_write_size instead.
>
> --
> Best Regards,
> Artem Bityutskiy (=D0=90=D1=80=D1=82=D1=91=D0=BC =D0=91=D0=B8=D1=82=D1=8E=
=D1=86=D0=BA=D0=B8=D0=B9)
>
>



More information about the linux-mtd mailing list