device-mapper-multipath/directio_message_cleanup.patch
Benjamin Marzinski 765b685946 Since libaio is now in /lib, not /usr/lib, multipath no longer needs to
statically link against it. Fixed an error with binding file and WWIDs
    that include spaces. Cleaned up the messages from the directio checker
    function. Fixed the udev rules. Fixed a regression in multipath.conf
    parsing Fixed 457530, 457589
2008-09-26 23:28:36 +00:00

16 lines
601 B
Diff

Index: multipath-tools/libmultipath/checkers/directio.c
===================================================================
--- multipath-tools.orig/libmultipath/checkers/directio.c
+++ multipath-tools/libmultipath/checkers/directio.c
@@ -148,8 +148,9 @@ check_state(int fd, struct directio_cont
}
ct->running++;
+ errno = 0;
r = io_getevents(ct->ioctx, 1L, 1L, &event, &timeout);
- LOG(3, "async io getevents returns %li (errno=%s)", r, strerror(errno));
+ LOG(3, "async io_getevents returns %li (%s)", r, strerror(errno));
if (r < 1L) {
if (ct->running > ASYNC_TIMEOUT_SEC || sync) {