nfs42.h 725 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2014 Anna Schumaker <Anna.Schumaker@Netapp.com>
  3. */
  4. #ifndef __LINUX_FS_NFS_NFS4_2_H
  5. #define __LINUX_FS_NFS_NFS4_2_H
  6. /*
  7. * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support
  8. * more? Need to consider not to pre-alloc too much for a compound.
  9. */
  10. #define PNFS_LAYOUTSTATS_MAXDEV (4)
  11. /* nfs4.2proc.c */
  12. int nfs42_proc_allocate(struct file *, loff_t, loff_t);
  13. int nfs42_proc_deallocate(struct file *, loff_t, loff_t);
  14. loff_t nfs42_proc_llseek(struct file *, loff_t, int);
  15. int nfs42_proc_layoutstats_generic(struct nfs_server *,
  16. struct nfs42_layoutstat_data *);
  17. int nfs42_proc_clone(struct file *, struct file *, loff_t, loff_t, loff_t);
  18. #endif /* __LINUX_FS_NFS_NFS4_2_H */