virtiofsd: fix eventfd_write failure message
PATCH 1/1 virtiofsd: fix eventfd_write failure message
Signed-off-by Eryu Guan <[email protected]>
--- tools/virtiofsd/fuse_virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/virtiofsd/fuse_virtio.c +1 -1
@@ -843,7 +843,7 @@ static void fv_queue_set_started(VuDev *dev, int qidx, bool started)/* Kill the thread */ if (eventfd_write (ourqi->kill_fd,1 )) { -fuse_log (FUSE_LOG_ERR ,"Eventfd_read for queue: %m\n" ); +fuse_log (FUSE_LOG_ERR ,"Eventfd_write for queue: %m\n" ); } ret =pthread_join (ourqi->thread,NULL );if (ret) {
Signature · 1 line
2.14.4.44.g2045bb6
Quoted 20 lines · * Eryu Guan ([email protected]) wrote:
Signed-off-by Eryu Guan <[email protected]>--- tools/virtiofsd/fuse_virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/virtiofsd/fuse_virtio.c +1
-1@@ -843,7 +843,7 @@ static void fv_queue_set_started(VuDev *dev, int qidx, bool started)/* Kill the thread */ if (eventfd_write (ourqi->kill_fd,1 )) { -fuse_log (FUSE_LOG_ERR ,"Eventfd_read for queue: %m\n" ); +fuse_log (FUSE_LOG_ERR ,"Eventfd_write for queue: %m\n" ); } ret =pthread_join (ourqi->thread,NULL );if (ret) {Signature · 1 line
2.14.4.44.g2045bb6
Reviewed-by Dr. David Alan Gilbert <[email protected]>
Thanks, merged into 'virtiofsd: Kill threads when queues are stopped'
Quoted 5 lines
_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 4 lines · Eryu Guan
Signed-off-by Eryu Guan <[email protected]>--- tools/virtiofsd/fuse_virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Stefan Hajnoczi <[email protected]>