diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-07-18 21:10:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-07-18 21:10:30 -0700 |
| commit | e3339bee8dcfe3fe6a521b9700d78bbe79c3c6d2 (patch) | |
| tree | 2fee0e16b23b68698f1c30d813419cc3d7c07952 /include/linux | |
| parent | 4504a57ef1e0454c1679ccc8ff9c7050f4385ff0 (diff) | |
[PATCH] direct_io mopup
Some cleanup from the surprise direct-to-bio for O_DIRECT merge.
- Remove bits and pieces from the kiobuf implementation
- Replace the waitqueue in struct dio with just a task_struct pointer
and use wake_up_process. (Ben).
- Only take mmap_sem around the individual calls to get_user_pages().
(It pins the vmas, yes?)
- Remove some debug code.
- Fix JFS.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 2ac85b8e28a3..84413138923e 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -274,7 +274,6 @@ struct iattr { */ struct page; struct address_space; -struct kiobuf; struct address_space_operations { int (*writepage)(struct page *); @@ -493,10 +492,6 @@ struct file { /* needed for tty driver, and maybe others */ void *private_data; - - /* preallocated helper kiobuf to speedup O_DIRECT */ - struct kiobuf *f_iobuf; - long f_iobuf_lock; }; extern spinlock_t files_lock; #define file_list_lock() spin_lock(&files_lock); |
