summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorHao Xu <howeyxu@tencent.com>2022-06-11 15:29:52 +0300
committerPavel Begunkov <asml.silence@gmail.com>2022-06-13 13:37:30 +0300
commit42db0c00e275877eb92480beaa16b33507dc3bda (patch)
treec81732f558477373928948e3b7fe7daee5217753 /scripts/stackusage
parente71d7c56dd69f720169c1675f87a1d22d8167767 (diff)
downloadlinux-42db0c00e275877eb92480beaa16b33507dc3bda.tar.xz
io_uring: kbuf: fix bug of not consuming ring buffer in partial io case
When we use ring-mapped provided buffer, we should consume it before arm poll if partial io has been done. Otherwise the buffer may be used by other requests and thus we lost the data. Fixes: c7fb19428d67 ("io_uring: add support for ring mapped supplied buffers") Signed-off-by: Hao Xu <howeyxu@tencent.com> [pavel: 5.19 rebase] Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions