lvm2 2.02.186

This commit is contained in:
idriskalp
2019-12-27 12:42:41 +03:00
parent fec5713bf2
commit 4078ab7233
21 changed files with 580 additions and 3 deletions
@@ -0,0 +1,12 @@
--- a/lib/device/dev-io.c
+++ b/lib/device/dev-io.c
@@ -505,7 +505,9 @@
dev->flags |= DEV_NOT_O_NOATIME;
if ((dev->fd = open(name, flags, 0777)) >= 0) {
log_debug_devs("%s: Not using O_NOATIME", name);
+#ifdef O_DIRECT_SUPPORT
goto opened;
+#endif
}
}
#endif