Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
reada.c File Reference
#include <linux/sched.h>
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/blkdev.h>
#include <linux/rbtree.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include "ctree.h"
#include "volumes.h"
#include "disk-io.h"
#include "transaction.h"

Go to the source code of this file.

Data Structures

struct  reada_extctl
struct  reada_extent
struct  reada_zone
struct  reada_machine_work


#define MAX_IN_FLIGHT   6


int btree_readahead_hook (struct btrfs_root *root, struct extent_buffer *eb, u64 start, int err)
struct reada_controlbtrfs_reada_add (struct btrfs_root *root, struct btrfs_key *key_start, struct btrfs_key *key_end)
int btrfs_reada_wait (void *handle)
void btrfs_reada_detach (void *handle)

Macro Definition Documentation

#define MAX_IN_FLIGHT   6

Definition at line 57 of file reada.c.

Function Documentation

int btree_readahead_hook ( struct btrfs_root root,
struct extent_buffer eb,
u64  start,
int  err 

Definition at line 236 of file reada.c.

struct reada_control* btrfs_reada_add ( struct btrfs_root root,
struct btrfs_key key_start,
struct btrfs_key key_end 

Definition at line 886 of file reada.c.

void btrfs_reada_detach ( void handle)

Definition at line 957 of file reada.c.

int btrfs_reada_wait ( void handle)

Definition at line 943 of file reada.c.