Revision 4d572d9f46507be8cfe326aa5bc3698babcbdfa7 authored by Avi Kivity on 08 June 2018, 19:12:32 UTC, committed by Al Viro on 15 June 2018, 00:07:38 UTC
The ->poll_mask() operation has a mask of events that the caller is interested in, but we're returning all events regardless. Change to return only the events the caller is interested in. This fixes aio IO_CMD_POLL returning immediately when called with POLLIN on an eventfd, since an eventfd is almost always ready for a write. Signed-off-by: Avi Kivity <avi@scylladb.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 94aefd3
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.8 KB |
Makefile | -rw-r--r-- | 233 bytes |
internal.h | -rw-r--r-- | 1.3 KB |
mmap-nommu.c | -rw-r--r-- | 2.5 KB |
storage.c | -rw-r--r-- | 6.4 KB |
super.c | -rw-r--r-- | 15.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...