Project

General

Profile

Feature #4015 » io.c-o_direct.patch

runpaint (Run Paint Run Run), 11/03/2010 06:50 AM

View differences:

io.c
/* do not change atime */
rb_file_const("NOATIME", INT2FIX(O_NOATIME)); /* Linux */
#endif
#ifdef O_DIRECT
/* Try to minimize cache effects of the I/O to and from this file. */
rb_file_const("DIRECT", INT2FIX(O_DIRECT)); /* Linux */
#endif
sym_mode = ID2SYM(rb_intern("mode"));
sym_perm = ID2SYM(rb_intern("perm"));
(1-1/3)