Trond Myklebust
11170fcc31
NFS: Fix a writeback race...
...
patch 61e930a904 in mainline
This patch fixes a regression that was introduced by commit
44dd151d5c
We cannot zero the user page in nfs_mark_uptodate() any more, since
a) We'd be modifying the page without holding the page lock
b) We can race with other updates of the page, most notably
because of the call to nfs_wb_page() in nfs_writepage_setup().
Instead, we do the zeroing in nfs_update_request() if we see that we're
creating a request that might potentially be marked as up to date.
Thanks to Olivier Paquet for reporting the bug and providing a test-case.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2007-11-16 09:37:01 -08:00
..
2007-08-23 10:13:45 -05:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-09-11 17:21:19 -07:00
2007-08-22 19:52:46 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-18 00:15:20 +00:00
2007-07-21 17:49:14 -07:00
2007-07-20 10:11:58 +09:00
2007-07-18 15:49:48 -07:00
2007-08-14 10:31:02 +01:00
2007-08-31 01:42:23 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 10:23:06 -07:00
2007-07-26 11:35:17 -07:00
2007-09-19 11:24:18 -07:00
2007-09-19 11:24:18 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-14 10:34:40 +01:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-31 01:42:23 -07:00
2007-07-31 15:39:41 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-09-02 18:18:38 +01:00
2007-07-20 10:11:58 +09:00
2007-10-09 12:38:26 -07:00
2007-11-16 09:37:00 -08:00
2007-07-31 15:39:41 -07:00
2007-11-16 09:37:01 -08:00
2007-09-10 18:57:47 -07:00
2007-07-16 09:05:52 -07:00
2007-07-20 10:11:58 +09:00
2007-11-16 09:37:01 -08:00
2007-07-20 10:11:58 +09:00
2007-07-30 00:27:31 -07:00
2007-11-16 08:12:44 -08:00
2007-07-20 10:11:58 +09:00
2007-07-31 15:39:36 -07:00
2007-09-11 17:21:19 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-08-22 14:35:36 -07:00
2007-07-20 10:11:58 +09:00
2007-08-31 01:42:22 -07:00
2007-09-25 08:51:04 -07:00
2007-11-16 08:22:58 -08:00
2007-10-08 12:58:14 -07:00
2007-07-17 11:50:26 -07:00
2007-07-17 12:00:03 -07:00
2007-07-19 10:04:47 -07:00
2007-07-21 17:49:14 -07:00
2007-10-03 23:43:57 +08:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-24 09:28:11 +02:00
2007-07-20 10:11:58 +09:00
2007-07-20 08:44:19 -07:00
2007-07-19 10:04:43 -07:00
2007-09-21 11:26:33 -04:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-29 17:09:29 -07:00
2007-08-20 22:50:25 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-16 09:05:36 -07:00
2007-07-20 10:11:58 +09:00
2007-09-20 13:19:59 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 12:00:03 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-16 09:05:48 -07:00
2007-09-11 11:38:25 -07:00
2007-11-16 08:12:42 -08:00
2007-07-20 10:11:58 +09:00
2007-07-19 10:04:45 -07:00
2007-07-20 10:11:58 +09:00
2007-07-19 10:04:45 -07:00
2007-07-31 15:39:42 -07:00
2007-07-27 08:08:51 +02:00
2007-07-27 15:40:13 -07:00
2007-09-11 17:21:20 -07:00
2007-07-16 09:05:45 -07:00
2007-09-20 13:19:59 -07:00
2007-11-16 08:12:43 -08:00
2007-07-16 09:05:46 -07:00
2007-07-26 11:35:17 -07:00
2007-07-17 12:00:03 -07:00
2007-07-17 12:00:03 -07:00