added QSE_FIO_NOCACHE.
map QSE_FIO_SEQUENTIAL and QSE_FIO_RANDOM to some posix_fadvise flags if available
This commit is contained in:
@ -59,9 +59,10 @@ enum qse_fio_open_flag_t
|
||||
QSE_FIO_NOSHRD = (1 << 24),
|
||||
QSE_FIO_NOSHWR = (1 << 25),
|
||||
|
||||
/* for WIN32 only. harmless(no effect) when used on other platforms */
|
||||
/* hints to OS. harmless(no effect) when used on unsupported platforms */
|
||||
QSE_FIO_RANDOM = (1 << 26), /* hint that access be random */
|
||||
QSE_FIO_SEQUENTIAL = (1 << 27) /* hint that access is sequential */
|
||||
QSE_FIO_SEQUENTIAL = (1 << 27), /* hint that access is sequential */
|
||||
QSE_FIO_NOCACHE = (1 << 28) /* no system I/O cache */
|
||||
};
|
||||
|
||||
enum qse_fio_std_t
|
||||
|
Reference in New Issue
Block a user