On 2020/12/7 9:23, Gao Xiang wrote:
simplify try_to_claim_pcluster() by directly using cmpxchg() here (the retry loop caused more overhead.) Also, move the chain loop detection in and rename it to z_erofs_try_to_claim_pcluster().
Looks more clean.
Signed-off-by: Gao Xiang <hsiang...@redhat.com>
Reviewed-by: Chao Yu <yuch...@huawei.com> Thanks,