diff options
author | Benny Halevy <bhalevy@panasas.com> | 2011-05-22 18:48:02 +0200 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-05-29 19:52:34 +0200 |
commit | 778b5502fdba5b183553f3f2ef1672ba78ac58b6 (patch) | |
tree | dc37bf3b4f9cdfab7ee16a2b776b6ea2d7653210 /fs/nfs/pnfs.h | |
parent | pnfs: align layoutget requests on page boundaries (diff) | |
download | linux-778b5502fdba5b183553f3f2ef1672ba78ac58b6.tar.xz linux-778b5502fdba5b183553f3f2ef1672ba78ac58b6.zip |
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.h | 2 |
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, struct nfs4_state *open_state); int mark_matching_lsegs_invalid(struct pnfs_layout_hdr *lo, struct list_head *tmp_list, - u32 iomode); + struct pnfs_layout_range *recall_range); bool pnfs_roc(struct inode *ino); void pnfs_roc_release(struct inode *ino); void pnfs_roc_set_barrier(struct inode *ino, u32 barrier); |