aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 1e6308f82fc3..0a4723945db2 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -178,6 +178,8 @@ struct pnfs_layoutdriver_type {
178 void (*encode_layoutcommit) (struct pnfs_layout_hdr *lo, 178 void (*encode_layoutcommit) (struct pnfs_layout_hdr *lo,
179 struct xdr_stream *xdr, 179 struct xdr_stream *xdr,
180 const struct nfs4_layoutcommit_args *args); 180 const struct nfs4_layoutcommit_args *args);
181 int (*prepare_layoutstats) (struct nfs42_layoutstat_args *args);
182 void (*cleanup_layoutstats) (struct nfs42_layoutstat_data *data);
181}; 183};
182 184
183struct pnfs_layout_hdr { 185struct pnfs_layout_hdr {
@@ -290,6 +292,7 @@ int pnfs_write_done_resend_to_mds(struct nfs_pgio_header *);
290struct nfs4_threshold *pnfs_mdsthreshold_alloc(void); 292struct nfs4_threshold *pnfs_mdsthreshold_alloc(void);
291void pnfs_error_mark_layout_for_return(struct inode *inode, 293void pnfs_error_mark_layout_for_return(struct inode *inode,
292 struct pnfs_layout_segment *lseg); 294 struct pnfs_layout_segment *lseg);
295int pnfs_report_layoutstat(struct inode *inode);
293 296
294/* nfs4_deviceid_flags */ 297/* nfs4_deviceid_flags */
295enum { 298enum {