Files
kernel/include/linux
Nick Piggin db37648cd6 [PATCH] mm: non syncing lock_page()
lock_page needs the caller to have a reference on the page->mapping inode
due to sync_page, ergo set_page_dirty_lock is obviously buggy according to
its comments.

Solve it by introducing a new lock_page_nosync which does not do a sync_page.

akpm: unpleasant solution to an unpleasant problem.  If it goes wrong it could
cause great slowdowns while the lock_page() caller waits for kblockd to
perform the unplug.  And if a filesystem has special sync_page() requirements
(none presently do), permanent hangs are possible.

otoh, set_page_dirty_lock() is usually (always?) called against userspace
pages.  They are always up-to-date, so there shouldn't be any pending read I/O
against these pages.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:48 -07:00
..
2006-08-03 16:56:02 -04:00
2006-09-07 15:57:12 +01:00
2006-08-31 00:02:15 -04:00
2006-09-11 13:32:30 -04:00
2006-09-23 21:03:52 -05:00
2006-09-22 23:24:30 -04:00
2006-07-03 19:44:51 -07:00
2006-07-01 09:56:03 -07:00
2006-09-22 15:18:47 -07:00
2006-07-28 21:02:00 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-08-21 10:02:50 +02:00
2006-09-22 14:53:32 -07:00
2006-09-22 15:20:25 -07:00
2006-07-31 13:28:39 -07:00
2006-07-03 15:27:00 -07:00
2006-07-14 21:53:56 -07:00
2006-09-26 08:48:47 -07:00
2006-07-14 21:53:55 -07:00
2006-09-22 14:54:20 -07:00
2006-08-27 11:01:32 -07:00
2006-09-26 08:48:48 -07:00
2006-09-23 15:33:43 -05:00
2006-07-12 16:05:48 -07:00
2006-08-19 17:44:31 -04:00
2006-06-28 15:54:27 -07:00
2006-07-03 19:48:25 -07:00
2006-09-26 08:48:44 -07:00
2006-06-30 11:25:38 -07:00
2006-09-22 14:55:02 -07:00
2006-09-01 11:39:08 -07:00
2006-09-22 14:53:36 -07:00
2006-09-26 08:48:45 -07:00
2006-06-30 11:25:37 -07:00
2006-09-26 08:48:47 -07:00
2006-09-22 15:20:25 -07:00
2006-06-30 18:25:18 +02:00
2006-07-03 23:30:54 +02:00
2006-09-26 08:48:45 -07:00
2006-07-10 13:24:25 -07:00
2006-09-26 08:48:44 -07:00