diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2018-12-07 17:19:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-07 17:10:48 +0100 |
commit | 7146a4f02635fe1b0791ce818176b1cf6b3d8a85 (patch) | |
tree | 21150111db99b29be9a203728450cf752b1bc0bc /sound/usb/quirks.c | |
parent | staging: erofs: redefine where `owned_workgrp_t' points (diff) | |
download | linux-7146a4f02635fe1b0791ce818176b1cf6b3d8a85.tar.xz linux-7146a4f02635fe1b0791ce818176b1cf6b3d8a85.zip |
staging: erofs: simplify `z_erofs_vle_submit_all'
Previously, there are too many hacked stuffs such as `__FSIO_1',
`lstgrp_noio', `lstgrp_io' out there in `z_erofs_vle_submit_all'.
Revisit the whole process by properly introducing jobqueue to
represent each type of queued workgroups, furthermore hide all of
crazyness behind independent separated functions.
After this patch, 2 independent jobqueues exist if managed cache
is enabled, or 1 jobqueue if disabled.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions