From e3339bee8dcfe3fe6a521b9700d78bbe79c3c6d2 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 18 Jul 2002 21:10:30 -0700 Subject: [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. --- include/linux/fs.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/linux') 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); -- cgit v1.2.3