aboutsummaryrefslogtreecommitdiff
path: root/Documentation/filesystems/caching/backend-api.rst
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-01-24 16:58:56 -0700
committerJens Axboe <[email protected]>2021-01-24 18:13:56 -0700
commitb18032bb0a883cd7edd22a7fe6c57e1059b81ed0 (patch)
treec42ad53c60d1696372582e41fd7354d867ff4188 /Documentation/filesystems/caching/backend-api.rst
parent84965ff8a84f0368b154c9b367b62e59c1193f30 (diff)
io_uring: only call io_cqring_ev_posted() if events were posted
This normally doesn't cause any extra harm, but it does mean that we'll increment the eventfd notification count, if one has been registered with the ring. This can confuse applications, when they see more notifications on the eventfd side than are available in the ring. Do the nice thing and only increment this count, if we actually posted (or even overflowed) events. Reported-and-tested-by: Dan Melnic <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/backend-api.rst')
0 files changed, 0 insertions, 0 deletions