File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,12 @@ static inline int put_dreq(struct nfs_direct_req *dreq)
116116 return atomic_dec_and_test (& dreq -> io_count );
117117}
118118
119+ void nfs_direct_set_resched_writes (struct nfs_direct_req * dreq )
120+ {
121+ dreq -> flags = NFS_ODIRECT_RESCHED_WRITES ;
122+ }
123+ EXPORT_SYMBOL_GPL (nfs_direct_set_resched_writes );
124+
119125static void
120126nfs_direct_good_bytes (struct nfs_direct_req * dreq , struct nfs_pgio_header * hdr )
121127{
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ static inline void nfs_inode_dio_wait(struct inode *inode)
502502 inode_dio_wait (inode );
503503}
504504extern ssize_t nfs_dreq_bytes_left (struct nfs_direct_req * dreq );
505+ extern void nfs_direct_set_resched_writes (struct nfs_direct_req * dreq );
505506
506507/* nfs4proc.c */
507508extern void __nfs4_read_done_cb (struct nfs_pgio_header * );
You can’t perform that action at this time.
0 commit comments