In next attaching old fastmap PEBs will be processed as following:Yes. But if you look into ubi_wl_init() you see that fastmap anchor PEBsAbout erasing fastmap anchor PEB synchronously, I admit curreunt UBI implementation cannot satisfy it, even with my fix applied. Wait, it seems that UBI has never made it sure. Old fastmap PEBs could be erased asynchronously, they could be counted into 'fmh->erase_peb_count' even in early UBI implementation code, so old fastmap anchor PEB will be added into 'ai->erase' and be erased asynchronously in next attaching.
get erases synchronously(!). The comment before the erasure explains why.
But, I feel it is not a problem, find_fm_anchor() can help us find out the right fastmap anchor PEB according seqnum.