Linux Kernel
3.7.1
|
#include "pnfs.h"
Go to the source code of this file.
Data Structures | |
struct | nfs4_pnfs_ds_addr |
struct | nfs4_pnfs_ds |
struct | nfs4_file_layout_dsaddr |
struct | nfs4_filelayout_segment |
struct | nfs4_filelayout |
Macros | |
#define | NFS4_DEF_DS_TIMEO 60 |
#define | NFS4_DEF_DS_RETRANS 5 |
#define | NFS4_PNFS_MAX_STRIPE_CNT 4096 |
#define | NFS4_PNFS_MAX_MULTI_CNT 256 /* 256 fit into a u8 stripe_index */ |
#define | NFS4ERR_RESET_TO_MDS 12001 |
Enumerations | |
enum | stripetype4 { STRIPE_SPARSE = 1, STRIPE_DENSE = 2 } |
Functions | |
bool | filelayout_test_devid_unavailable (struct nfs4_deviceid_node *node) |
struct nfs_fh * | nfs4_fl_select_ds_fh (struct pnfs_layout_segment *lseg, u32 j) |
void | print_ds (struct nfs4_pnfs_ds *ds) |
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 nfs4_pnfs_ds * | nfs4_fl_prepare_ds (struct pnfs_layout_segment *lseg, u32 ds_idx) |
void | nfs4_fl_put_deviceid (struct nfs4_file_layout_dsaddr *dsaddr) |
void | nfs4_fl_free_deviceid (struct nfs4_file_layout_dsaddr *dsaddr) |
struct nfs4_file_layout_dsaddr * | filelayout_get_device_info (struct inode *inode, struct nfs4_deviceid *dev_id, gfp_t gfp_flags) |
#define NFS4_DEF_DS_RETRANS 5 |
Definition at line 40 of file nfs4filelayout.h.
#define NFS4_DEF_DS_TIMEO 60 |
Definition at line 39 of file nfs4filelayout.h.
Definition at line 49 of file nfs4filelayout.h.
#define NFS4_PNFS_MAX_STRIPE_CNT 4096 |
Definition at line 48 of file nfs4filelayout.h.
#define NFS4ERR_RESET_TO_MDS 12001 |
Definition at line 52 of file nfs4filelayout.h.
enum stripetype4 |
Definition at line 54 of file nfs4filelayout.h.
|
read |
Definition at line 671 of file nfs4filelayoutdev.c.
Definition at line 278 of file nfs4filelayout.c.
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.
|
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.
|
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.