Changeset 29d4438 for lib/ior-stdio.c


Ignore:
Timestamp:
03/12/10 13:38:28 (12 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
aa0c5c5
Parents:
f6e8d46
Message:

Support an "undocumented" libtraceio debug interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ior-stdio.c

    r22a9ccc r29d4438  
    3333
    3434
     35#define _GNU_SOURCE 1
    3536#include "wandio.h"
    3637#include <sys/types.h>
     
    6061                DATA(io)->fd = 0; /* STDIN */
    6162        else
    62                 DATA(io)->fd = open(filename,O_RDONLY);
     63                DATA(io)->fd = open(filename,O_RDONLY|(force_directio_read?O_DIRECT:0));
    6364        io->source = &stdio_source;
    6465
Note: See TracChangeset for help on using the changeset viewer.