Files
twx-linux/fs
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-09-11 17:21:19 -07:00
2007-08-22 19:52:46 -07:00
2007-11-16 09:37:01 -08:00
2007-07-16 09:05:52 -07:00
2007-11-16 08:12:44 -08:00
2007-07-31 15:39:36 -07:00
2007-09-11 17:21:19 -07:00
2007-09-25 08:51:04 -07:00
2007-10-08 12:58:14 -07:00
2007-07-21 17:49:14 -07:00
2007-07-20 08:44:19 -07:00
2007-07-19 10:04:43 -07:00
2007-07-19 10:04:45 -07:00
2007-07-29 17:09:29 -07:00
2007-09-20 13:19:59 -07:00
2007-07-16 09:05:48 -07:00
2007-09-11 11:38:25 -07:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-27 08:08:51 +02:00
2007-07-27 15:40:13 -07:00
2007-09-20 13:19:59 -07:00
2007-07-16 09:05:46 -07:00