iSCSI: remove the now obsolete call to qemu_notify_event()
PATCH 1/1 iSCSI: remove the now obsolete call to qemu_notify_event()
Paolo, List
Please find a trivial patch to iscsi that removes the call to qemu_notify_event() We do not need to call this any more since a recent patch that made qemu_aio_set_fd_handler() and friends invoke this call automatically when required.
regards
ronnie sahlberg
PATCH 1/1 iSCSI: We dont need to explicitely call qemu_notify_event() any more
We no longer need to explicitely call qemu_notify_event() any more since this is now done automatically any time the filehandles we listen to change.
--- block/iscsi.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
block/iscsi.c +0 -6
@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun) } -/* If we just added an event, the callback might be delayed -* unless we call qemu_notify_event(). -*/ -if (ev & ~iscsilun->events) { -qemu_notify_event (); - } iscsilun->events = ev; }
Signature · 1 line
1.7.3.1
Re: [Qemu-devel] [PATCH] iSCSI: We dont need to explicitely call qemu_notify_event() any more
Ping?
Quoted 27 lines · Ronnie Sahlberg
We no longer need to explicitely call
qemu_notify_event()any more since this is now done automatically any time the filehandles we listen to change.Signed-off-by Ronnie Sahlberg <[email protected]>--- block/iscsi.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)block/iscsi.c +0
-7@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun) } -/* If we just added an event, the callback might be delayed -* unless we call qemu_notify_event(). -*/ -if (ev & ~iscsilun->events) { -qemu_notify_event (); - } iscsilun->events = ev; } --1.7.3.1
Re: [Qemu-devel] [PATCH] iSCSI: We dont need to explicitely call qemu_notify_event() any more
Il 08/09/2012 01:22, ronnie sahlberg ha scritto:
Quoted 1 line
Ping?
Both are already in scsi-next, thanks!
Paolo
Quoted 31 lines
Quoted 27 lines · Ronnie Sahlberg
We no longer need to explicitely call
qemu_notify_event()any more since this is now done automatically any time the filehandles we listen to change.Signed-off-by Ronnie Sahlberg <[email protected]>--- block/iscsi.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)block/iscsi.c +0
-7@@ -167,12 +167,6 @@ iscsi_set_events(IscsiLun *iscsilun) } -/* If we just added an event, the callback might be delayed -* unless we call qemu_notify_event(). -*/ -if (ev & ~iscsilun->events) { -qemu_notify_event (); - } iscsilun->events = ev; } --1.7.3.1