int eof_reached; /**< true if eof reached */
int write_flag; /**< true if open for writing */
int o_direct_flag; /**< true if the underlaying file is open with O_DIRECT */
+ int flush_all; /**< Used during seek when o_direct_flag is set */
int is_streamed;
int max_packet_size;
unsigned long checksum;