[PATCH chao/erofs-dev 6/7] staging: erofs: redefine where `owned_workgrp_t' points

Chao Yu chao at kernel.org
Fri Dec 7 02:36:35 AEDT 2018


On 2018-12-2 2:32, Gao Xiang wrote:
> By design, workgroups are queued in the form of linked lists.
> 
> Previously, it points to the next `z_erofs_vle_workgroup', which
> isn't flexible enough to simplify `z_erofs_vle_submit_all' logic.
> 
> Let's fix it pointing to the next `owned_workgrp_t' and use
> container_of to get its coresponding `z_erofs_vle_workgroup'.
> 
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,


More information about the Linux-erofs mailing list