aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorBenny Halevy <bhalevy@panasas.com>2011-05-22 12:48:02 -0400
committerBoaz Harrosh <bharrosh@panasas.com>2011-05-29 13:52:34 -0400
commit778b5502fdba5b183553f3f2ef1672ba78ac58b6 (patch)
treedc37bf3b4f9cdfab7ee16a2b776b6ea2d7653210 /fs/nfs/pnfs.h
parent707ed5fdb587c71fdb7ad224ba1d80231f33c974 (diff)
pnfs: Use byte-range for cb_layoutrecall
Use recalled range to invalidate particular layout segments in the layout cache. Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r--fs/nfs/pnfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index 78f8a4a171b3..f37ab3539cbf 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -154,7 +154,7 @@ int pnfs_choose_layoutget_stateid(nfs4_stateid *dst,
154 struct nfs4_state *open_state); 154 struct nfs4_state *open_state);
155int mark_matching_lsegs_invalid(struct pnfs_layout_hdr *lo, 155int mark_matching_lsegs_invalid(struct pnfs_layout_hdr *lo,
156 struct list_head *tmp_list, 156 struct list_head *tmp_list,
157 u32 iomode); 157 struct pnfs_layout_range *recall_range);
158bool pnfs_roc(struct inode *ino); 158bool pnfs_roc(struct inode *ino);
159void pnfs_roc_release(struct inode *ino); 159void pnfs_roc_release(struct inode *ino);
160void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); 160void pnfs_roc_set_barrier(struct inode *ino, u32 barrier);