Skip to content

Commit f06e43d

Browse files
committed
fix(driver,iour): remove multishot poll
1 parent 45b664f commit f06e43d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • compio-driver/src/sys/driver/iour

compio-driver/src/sys/driver/iour/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,7 @@ impl Driver {
201201
match entry.user_data() {
202202
Self::CANCEL => {}
203203
Self::NOTIFY => {
204-
let flags = entry.flags();
205-
if !more(flags) {
206-
self.need_push_notifier = true;
207-
}
204+
self.need_push_notifier = true;
208205
if let Err(_e) = self.notifier.clear() {
209206
error!("failed to clear notifier: {_e}");
210207
}
@@ -363,7 +360,6 @@ impl Driver {
363360
#[allow(clippy::useless_conversion)]
364361
self.push_raw(
365362
PollAdd::new(Fd(self.notifier.as_raw_fd()), libc::POLLIN as _)
366-
.multi(true)
367363
.build()
368364
.user_data(Self::NOTIFY)
369365
.into(),

0 commit comments

Comments
 (0)