Nikita Danilov
ddeff520f0
NFS: Fix a potential deadlock in nfs_release_page
...
nfs_wb_page() waits on request completion and, as a result, is not safe to be
called from nfs_release_page() invoked by VM scanner as part of GFP_NOFS
allocation. Fix possible deadlock by analyzing gfp mask and refusing to
release page if __GFP_FS is not set.
Signed-off-by: Nikita Danilov <danilov@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 374d969debfb290bafcb41d28918dc6f7e43ce31 commit)
2006-08-24 15:48:46 -04:00
..
2006-07-31 13:28:44 -07:00
2006-08-14 12:54:28 -07:00
2006-06-28 14:59:04 -07:00
2006-06-28 14:59:04 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-08-06 08:57:48 -07:00
2006-06-28 14:59:04 -07:00
2006-06-30 19:25:36 +02:00
2006-07-31 13:28:41 -07:00
2006-06-29 14:43:01 -07:00
2006-06-28 14:59:04 -07:00
2006-06-30 19:25:36 +02:00
2006-06-23 07:42:45 -07:00
2006-07-31 13:28:41 -07:00
2006-07-03 15:27:08 -07:00
2006-07-31 13:28:44 -07:00
2006-06-28 14:59:04 -07:00
2006-07-31 13:28:44 -07:00
2006-08-14 12:54:29 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-28 14:59:04 -07:00
2006-06-28 14:59:04 -07:00
2006-06-23 07:42:45 -07:00
2006-07-10 13:24:21 -07:00
2006-06-30 19:25:36 +02:00
2006-06-27 17:32:38 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 21:29:08 -07:00
2006-07-28 08:46:05 -05:00
2006-08-03 16:56:02 -04:00
2006-06-28 14:59:04 -07:00
2006-06-23 07:42:45 -07:00
2006-06-30 15:39:30 -07:00
2006-08-24 15:48:46 -04:00
2006-07-31 13:28:37 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:08 -07:00
2006-08-07 11:07:01 -07:00
2006-06-25 23:19:14 -07:00
2006-07-31 13:28:41 -07:00
2006-07-15 12:26:45 -07:00
2006-06-30 19:25:36 +02:00
2006-07-10 13:24:21 -07:00
2006-08-06 08:57:49 -07:00
2006-06-28 14:59:04 -07:00
2006-06-30 19:25:36 +02:00
2006-07-12 12:52:54 -07:00
2006-06-28 14:59:04 -07:00
2006-08-14 12:54:28 -07:00
2006-08-06 08:57:46 -07:00
2006-06-23 07:42:45 -07:00
2006-08-10 14:40:41 +10:00
2006-06-26 18:35:02 +02:00
2006-07-10 13:24:22 -07:00
2006-07-10 13:24:22 -07:00
2006-06-30 19:25:36 +02:00
2006-06-24 13:07:53 -04:00
2006-06-30 19:25:36 +02:00
2006-06-17 10:52:12 -07:00
2006-07-03 15:27:10 -07:00
2006-07-31 13:28:38 -07:00
2006-07-14 21:53:54 -07:00
2006-06-30 19:25:36 +02:00
2006-06-26 10:48:16 -07:00
2006-07-03 15:27:06 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:06 -07:00
2006-06-26 09:58:17 -07:00
2006-07-03 15:27:11 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-07-12 12:52:55 -07:00
2006-06-30 11:25:36 -07:00
2006-06-30 15:39:30 -07:00
2006-07-31 13:28:41 -07:00
2006-06-20 05:25:19 -04:00
2006-06-30 19:25:36 +02:00
2006-06-30 11:25:37 -07:00
2006-07-13 16:38:58 -07:00
2006-06-26 09:58:17 -07:00
2006-08-14 13:10:59 -07:00
2006-06-26 12:25:05 -07:00
2006-06-23 07:42:49 -07:00
2006-08-03 10:59:42 -04:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-06-25 10:01:15 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:17 -07:00
2006-07-10 13:24:18 -07:00
2006-06-25 10:01:22 -07:00
2006-07-10 11:00:01 +02:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:09 -07:00
2006-06-23 07:42:49 -07:00
2006-06-20 05:25:28 -04:00