Jan Kara
ff9a28f6c2
xfs: Fix WARN_ON(delalloc) in xfs_vm_releasepage()
...
When a dirty page is truncated from a file but reclaim gets to it before
truncate_inode_pages(), we hit WARN_ON(delalloc) in
xfs_vm_releasepage(). This is because reclaim tries to write the page,
xfs_vm_writepage() just bails out (leaving page clean) and thus reclaim
thinks it can continue and calls xfs_vm_releasepage() on page with dirty
buffers.
Fix the issue by redirtying the page in xfs_vm_writepage(). This makes
reclaim stop reclaiming the page and also logically it keeps page in a
more consistent state where page with dirty buffers has PageDirty set.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-03-22 16:12:37 -05:00
..
2013-01-11 11:39:04 -08:00
2012-05-29 23:28:32 -04:00
2012-05-29 23:28:32 -04:00
2012-11-14 15:15:08 -06:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2012-09-18 01:01:35 -07:00
2011-08-01 02:35:04 -04:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2013-03-07 12:33:57 -06:00
2012-11-15 21:35:12 -06:00
2013-03-22 16:12:37 -05:00
2012-07-22 11:00:55 -05:00
2013-03-14 16:19:14 -05:00
2012-11-15 21:35:12 -06:00
2010-01-20 10:47:48 +11:00
2013-02-01 14:56:31 -06:00
2010-01-20 10:47:48 +11:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2013-03-14 16:19:14 -05:00
2012-10-18 17:42:48 -05:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2013-02-14 17:23:42 -06:00
2013-01-16 16:07:37 -06:00
2013-03-14 15:56:53 -05:00
2013-01-16 16:07:11 -06:00
2012-11-19 20:11:24 -06:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2013-02-26 20:16:07 -08:00
2010-01-15 15:31:23 -06:00
2013-03-14 16:19:14 -05:00
2013-01-16 16:08:55 -06:00
2012-11-15 21:35:12 -06:00
2011-07-13 13:43:48 +02:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2012-07-01 14:50:07 -05:00
2012-07-01 14:50:07 -05:00
2011-07-13 13:43:48 +02:00
2012-08-23 14:48:44 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:21:00 -05:00
2011-08-12 16:21:35 -05:00
2013-03-22 16:06:30 -05:00
2013-03-22 16:06:30 -05:00
2013-03-07 12:33:57 -06:00
2011-03-07 10:09:35 +11:00
2013-02-26 02:46:10 -05:00
2011-08-12 16:21:35 -05:00
2012-05-14 16:21:04 -05:00
2012-05-14 16:21:04 -05:00
2012-05-14 16:20:54 -05:00
2010-12-20 11:59:49 +11:00
2013-02-22 23:31:31 -05:00
2011-10-11 21:15:06 -05:00
2010-07-26 13:16:51 -05:00
2012-11-08 15:32:29 -06:00
2013-02-01 14:55:59 -06:00
2011-01-11 20:28:17 -06:00
2012-11-08 15:34:59 -06:00
2012-11-15 21:35:12 -06:00
2012-11-15 21:35:12 -06:00
2013-03-07 12:33:57 -06:00
2012-11-15 21:35:12 -06:00
2012-11-08 15:34:59 -06:00
2012-11-08 15:34:59 -06:00
2012-12-17 16:29:00 -06:00
2012-12-17 16:29:00 -06:00
2012-12-17 16:29:00 -06:00
2013-03-14 16:19:14 -05:00
2012-05-14 16:20:54 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2013-03-22 16:07:56 -05:00
2010-12-16 16:05:51 -06:00
2012-11-14 15:12:45 -06:00
2011-08-12 16:21:35 -05:00
2012-11-15 21:35:12 -06:00
2010-06-24 11:35:17 +10:00
2012-11-19 20:11:24 -06:00
2012-06-21 14:21:11 -05:00
2012-12-03 12:10:59 -06:00
2013-02-27 19:10:24 -08:00
2010-05-24 10:33:39 -05:00
2013-03-07 12:33:57 -06:00
2012-10-17 13:39:14 -05:00
2012-05-14 16:20:54 -05:00
2011-10-31 17:30:54 -07:00
2013-02-01 14:55:08 -06:00
2013-03-14 15:55:32 -05:00
2011-02-01 11:42:43 +01:00
2010-01-15 15:34:22 -06:00
2013-01-17 17:32:57 -06:00
2013-03-22 16:06:30 -05:00
2013-03-22 16:05:52 -05:00
2013-03-22 16:06:30 -05:00
2012-03-14 11:09:06 -05:00
2012-02-03 11:32:20 -06:00
2012-09-18 01:01:39 -07:00
2012-05-14 16:20:54 -05:00
2012-11-15 21:34:05 -06:00
2011-07-25 15:03:13 -05:00
2012-11-19 20:11:24 -06:00
2012-03-14 11:09:06 -05:00
2012-03-14 11:09:06 -05:00
2013-01-13 14:42:07 -06:00
2012-10-17 12:01:25 -05:00
2012-11-08 15:34:59 -06:00
2012-11-08 15:34:59 -06:00
2012-05-14 16:21:00 -05:00
2013-03-22 16:07:56 -05:00
2012-12-17 16:29:00 -06:00
2013-01-16 16:08:08 -06:00
2013-03-22 16:05:52 -05:00
2012-05-14 16:20:54 -05:00
2012-12-17 16:29:00 -06:00
2012-07-29 16:27:57 -05:00
2013-02-01 14:56:31 -06:00
2013-02-01 14:56:31 -06:00
2013-01-17 17:32:57 -06:00
2012-07-29 16:00:31 -05:00
2012-01-03 22:55:00 -05:00
2012-03-15 13:40:16 -05:00
2013-03-14 16:19:14 -05:00
2012-11-29 14:21:46 -06:00
2011-08-12 16:21:35 -05:00
2011-08-12 13:57:55 -05:00