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)
116
116
return atomic_dec_and_test (& dreq -> io_count );
117
117
}
118
118
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
+
119
125
static void
120
126
nfs_direct_good_bytes (struct nfs_direct_req * dreq , struct nfs_pgio_header * hdr )
121
127
{
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ static inline void nfs_inode_dio_wait(struct inode *inode)
502
502
inode_dio_wait (inode );
503
503
}
504
504
extern ssize_t nfs_dreq_bytes_left (struct nfs_direct_req * dreq );
505
+ extern void nfs_direct_set_resched_writes (struct nfs_direct_req * dreq );
505
506
506
507
/* nfs4proc.c */
507
508
extern void __nfs4_read_done_cb (struct nfs_pgio_header * );
You can’t perform that action at this time.
0 commit comments