]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/nfs_xdr.h
NFSv4.1/pNFS: Don't queue up a new commit if the layout segment is invalid
[mirror_ubuntu-bionic-kernel.git] / include / linux / nfs_xdr.h
index 11bbae44f4cbf91dd3ed62aa9d2e1849b14a8839..bee3e60a7006d35869f853ed5d3cb8f357ff890d 100644 (file)
@@ -1420,11 +1420,12 @@ struct nfs_mds_commit_info {
        struct list_head        list;
 };
 
+struct nfs_commit_info;
 struct nfs_commit_data;
 struct nfs_inode;
 struct nfs_commit_completion_ops {
-       void (*error_cleanup) (struct nfs_inode *nfsi);
        void (*completion) (struct nfs_commit_data *data);
+       void (*resched_write) (struct nfs_commit_info *, struct nfs_page *);
 };
 
 struct nfs_commit_info {
@@ -1460,6 +1461,7 @@ struct nfs_pgio_completion_ops {
        void    (*error_cleanup)(struct list_head *head);
        void    (*init_hdr)(struct nfs_pgio_header *hdr);
        void    (*completion)(struct nfs_pgio_header *hdr);
+       void    (*reschedule_io)(struct nfs_pgio_header *hdr);
 };
 
 struct nfs_unlinkdata {