io_uring: kill REQ_F_LINK_NEXT
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Jun 2020 09:52:34 +0000 (12:52 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:10:17 +0000 (08:10 -0600)
commit9b0d911acce00b67f7e7336f838b732de7d917d6
tree4d3bfd57e26527621bbc65292a2391a0afacf4ad
parent2d6500d44c1374808040d120e625a22b013c9f0d
io_uring: kill REQ_F_LINK_NEXT

After pulling nxt from a request, it's no more a links head, so clear
REQ_F_LINK_HEAD. Absence of this flag also indicates that there are no
linked requests, so replacing REQ_F_LINK_NEXT, which can be killed.

Linked timeouts also behave leaving the flag intact when necessary.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c