Skip to content

Better handle missing O_DIRECT on Illumos #7

rlaager opened this Issue Feb 17, 2012 · 0 comments

1 participant

rlaager commented Feb 17, 2012

block/raw-posix.c has this code:
#ifndef O_DIRECT

From what I can tell, that would turn cache=none behavior into that of cache=writethrough. mjt in #kvm suggested an alternative worth considering:

(14:43:29) mjt: directio(fd,DIRECTIO_ON) -- maybe worth to add on solaris instead of O_DIRECT
(14:44:13) mjt:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.