Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nfs4filelayoutdev.c File Reference
#include <linux/nfs_fs.h>
#include <linux/vmalloc.h>
#include <linux/module.h>
#include "internal.h"
#include "nfs4filelayout.h"

Go to the source code of this file.

Macros

#define NFSDBG_FACILITY   NFSDBG_PNFS_LD
 

Functions

void print_ds (struct nfs4_pnfs_ds *ds)
 
void nfs4_fl_free_deviceid (struct nfs4_file_layout_dsaddr *dsaddr)
 
struct nfs4_file_layout_dsaddrfilelayout_get_device_info (struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_flags)
 
void nfs4_fl_put_deviceid (struct nfs4_file_layout_dsaddr *dsaddr)
 
u32 nfs4_fl_calc_j_index (struct pnfs_layout_segment *lseg, loff_t offset)
 
u32 nfs4_fl_calc_ds_index (struct pnfs_layout_segment *lseg, u32 j)
 
struct nfs_fhnfs4_fl_select_ds_fh (struct pnfs_layout_segment *lseg, u32 j)
 
struct nfs4_pnfs_dsnfs4_fl_prepare_ds (struct pnfs_layout_segment *lseg, u32 ds_idx)
 
 module_param (dataserver_retrans, uint, 0644)
 
 MODULE_PARM_DESC (dataserver_retrans,"The number of times the NFSv4.1 client ""retries a request before it attempts further "" recovery action.")
 
 module_param (dataserver_timeo, uint, 0644)
 
 MODULE_PARM_DESC (dataserver_timeo,"The time (in tenths of a second) the ""NFSv4.1 client waits for a response from a "" data server before it retries an NFS request.")
 

Macro Definition Documentation

#define NFSDBG_FACILITY   NFSDBG_PNFS_LD

Definition at line 38 of file nfs4filelayoutdev.c.

Function Documentation

struct nfs4_file_layout_dsaddr* filelayout_get_device_info ( struct inode inode,
struct nfs4_deviceid dev_id,
gfp_t  gfp_flags 
)
read

Definition at line 671 of file nfs4filelayoutdev.c.

module_param ( dataserver_retrans  ,
uint  ,
0644   
)
module_param ( dataserver_timeo  ,
uint  ,
0644   
)
MODULE_PARM_DESC ( dataserver_retrans  ,
"The number of times the NFSv4.1 client ""retries a request before it attempts further "" recovery action."   
)
MODULE_PARM_DESC ( dataserver_timeo  ,
"The time (in tenths of a second) the ""NFSv4.1 client waits for a response from a "" data server before it retries an NFS request."   
)
u32 nfs4_fl_calc_ds_index ( struct pnfs_layout_segment lseg,
u32  j 
)

Definition at line 754 of file nfs4filelayoutdev.c.

u32 nfs4_fl_calc_j_index ( struct pnfs_layout_segment lseg,
loff_t  offset 
)

Definition at line 742 of file nfs4filelayoutdev.c.

void nfs4_fl_free_deviceid ( struct nfs4_file_layout_dsaddr dsaddr)

Definition at line 223 of file nfs4filelayoutdev.c.

struct nfs4_pnfs_ds* nfs4_fl_prepare_ds ( struct pnfs_layout_segment lseg,
u32  ds_idx 
)
read

Definition at line 779 of file nfs4filelayoutdev.c.

void nfs4_fl_put_deviceid ( struct nfs4_file_layout_dsaddr dsaddr)

Definition at line 732 of file nfs4filelayoutdev.c.

struct nfs_fh* nfs4_fl_select_ds_fh ( struct pnfs_layout_segment lseg,
u32  j 
)
read

Definition at line 760 of file nfs4filelayoutdev.c.

void print_ds ( struct nfs4_pnfs_ds ds)

Definition at line 57 of file nfs4filelayoutdev.c.