diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2015-01-22 15:20:55 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:39:53 +0200 |
| commit | 56d6480a113d3a0d8914bb29611a6564760b935e (patch) | |
| tree | 5f45ae2c3b995c47bf9b234473ec9f9f88688b7e /include/linux/fs.h | |
| parent | d23347545e98b330e5d9a6dc88180c16e53bf405 (diff) | |
non-ext4 portions of "direct-io: Implement generic deferred AIO completions"
Originally from 7b7a8665edd8db73
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/fs.h')
| -rw-r--r-- | include/linux/fs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9bfff5d2b..16c7d1778 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -46,6 +46,7 @@ struct vfsmount; struct cred; struct swap_info_struct; struct seq_file; +struct workqueue_struct; struct fscrypt_info; struct fscrypt_operations; @@ -65,8 +66,7 @@ struct buffer_head; typedef int (get_block_t)(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create); typedef void (dio_iodone_t)(struct kiocb *iocb, loff_t offset, - ssize_t bytes, void *private, int ret, - bool is_async); + ssize_t bytes, void *private); #define MAY_EXEC 0x00000001 #define MAY_WRITE 0x00000002 @@ -1343,6 +1343,9 @@ struct super_block { /* Being remounted read-only */ int s_readonly_remount; + + /* AIO completions deferred from interrupt context */ + struct workqueue_struct *s_dio_done_wq; }; /* superblock cache pruning functions */ |
