data_blocks_info Struct Reference

Scratchpad for a set of results of a query regarding the blocks of a file. More...

#include <query.h>


Data Fields

unsigned long seq_first
 Sequence ID of first block.
unsigned long seq_last
 sequence ID of last block
size_t length_first
 Length of first datablock for reading / writing.
size_t length_last
 Length of last datablock after reading / writing.
off_t offset_first
 Offset in 1st block.


Detailed Description

Scratchpad for a set of results of a query regarding the blocks of a file.

Used by query_truncate(), query_write(), and query_read() via fill_data_blocks_info(), this function records some ranges of blocks for use in mass-write, read, or deletion.

Stunning description, I'm sure.

Definition at line 20 of file query.h.


Field Documentation

size_t length_first

Length of first datablock for reading / writing.

Definition at line 23 of file query.h.

Referenced by query_read(), and query_write().

size_t length_last

Length of last datablock after reading / writing.

Definition at line 23 of file query.h.

Referenced by query_read(), query_truncate(), and query_write().

off_t offset_first

Offset in 1st block.

Definition at line 25 of file query.h.

Referenced by query_read(), and query_write().

unsigned long seq_first

Sequence ID of first block.

Definition at line 21 of file query.h.

Referenced by query_read(), and query_write().

unsigned long seq_last

sequence ID of last block

Definition at line 21 of file query.h.

Referenced by query_read(), query_truncate(), and query_write().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 12 20:25:33 2009 for mysqlfs by  doxygen 1.4.7