Re: [PATCH] ubi: Remove ubi_io_is_bad call from scan_peb

2017-09-26 Thread Hyeoncheol Lee
Please, ignore this patch. I made a mistake. while headers are read, ubi_io_is_bad is called only when chk_io is true. 2017-09-26 13:54 GMT+09:00 Hyunchul Lee : > From: Hyunchul Lee > > When erase count and volume identifier headers are read, > ubi_io_is_bad

Re: [PATCH] ubi: Remove ubi_io_is_bad call from scan_peb

2017-09-26 Thread Hyeoncheol Lee
Please, ignore this patch. I made a mistake. while headers are read, ubi_io_is_bad is called only when chk_io is true. 2017-09-26 13:54 GMT+09:00 Hyunchul Lee : > From: Hyunchul Lee > > When erase count and volume identifier headers are read, > ubi_io_is_bad is called. So instead of calling

[PATCH] ubi: Remove ubi_io_is_bad call from scan_peb

2017-09-25 Thread Hyunchul Lee
From: Hyunchul Lee When erase count and volume identifier headers are read, ubi_io_is_bad is called. So instead of calling ubi_io_is_bad from scan_peb, use the result. this patch reduces the attach time by about 15% in my environment. ARMv7 1GHZ based board, 66.8MiB MTD

[PATCH] ubi: Remove ubi_io_is_bad call from scan_peb

2017-09-25 Thread Hyunchul Lee
From: Hyunchul Lee When erase count and volume identifier headers are read, ubi_io_is_bad is called. So instead of calling ubi_io_is_bad from scan_peb, use the result. this patch reduces the attach time by about 15% in my environment. ARMv7 1GHZ based board, 66.8MiB MTD partition