From: Yukihiro Matsumoto Date: 2010-11-08T23:42:52+09:00 Subject: [ruby-core:33109] Re: [Ruby 1.9-Feature#4015] File::DIRECT Constant for O_DIRECT Hi, In message "Re: [ruby-core:33107] [Ruby 1.9-Feature#4015] File::DIRECT Constant for O_DIRECT" on Mon, 8 Nov 2010 21:49:05 +0900, Run Paint Run Run writes: |Issue #4015 has been updated by Run Paint Run Run. | |File io-advise.patch added | |Thanks, Eric. I've updated the patch with your suggestions. The _advice_ argument is now a Symbol. On platforms that don't support posix_fadvise(2), the arguments are still sanity checked--hence the ugly ifdefs--but then we just return nil. I am not against IO#advice, but you should at least open independent ticket for it. May I consider File::DIRECT request is withdrawn? matz.