[PATCH 3/3] lightnvm: fix address issues related to multi target

2016-04-13 Thread Wenwei Tao
In rrpc, some of the address operations are based on one target assumption, the global values are always used. Now multi target is available, we should use relative/global values properly. In rrpc_l2p_update, we use relative logical address to deal with trans_map and rev_trans_map, and check the

[PATCH 3/3] lightnvm: fix address issues related to multi target

2016-04-13 Thread Wenwei Tao
In rrpc, some of the address operations are based on one target assumption, the global values are always used. Now multi target is available, we should use relative/global values properly. In rrpc_l2p_update, we use relative logical address to deal with trans_map and rev_trans_map, and check the