diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-05-16 22:58:05 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-06-14 08:23:04 -0600 |
| commit | 93d2bcd2cbfed2c714341f7a7ecd511aaedabd83 (patch) | |
| tree | 5a01cbafb8a29662e45030872c7c339bd4a7eaa4 /lib/mpi/generic_mpih-mul2.c | |
| parent | 3dd0c97a9e011b11ce6bd245bacf58c57f6f7875 (diff) | |
io_uring: make fail flag not link specific
The main difference is in req_set_fail_links() renamed into
req_set_fail(), which now sets REQ_F_FAIL_LINK/REQ_F_FAIL flag
unconditional on whether it has been a link or not. It only matters in
io_disarm_next(), which already handles it well, and all calls to it
have a fast path checking REQ_F_LINK/HARDLINK.
It looks cleaner, and sheds binary size
text data bss dec hex filename
84235 12390 8 96633 17979 ./fs/io_uring.o
84151 12414 8 96573 1793d ./fs/io_uring.o
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e2224154dd6e53b665ac835d29436b177872fa10.1621201931.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/generic_mpih-mul2.c')
0 files changed, 0 insertions, 0 deletions
