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-03-03 13:23:03 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-03-01 12:04:39 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-03-03 13:13:20 -08:00
2013-02-28 17:43:09 -08:00
2013-03-01 12:05:13 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-01-26 22:22:21 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-03-03 13:23:03 -08:00
2013-02-27 16:59:05 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 16:59:05 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:10 -08:00
2013-02-22 23:31:37 -05:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 02:45:52 -05:00
2013-02-26 02:46:10 -05:00
2013-03-02 17:08:46 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-28 18:02:55 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-03-02 16:46:07 -08:00
2013-02-13 06:15:14 -08:00
2013-02-28 18:02:55 -08:00
2013-02-26 20:16:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:11 -08:00
2013-02-21 09:38:18 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 02:46:10 -05:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-02-26 20:16:07 -08:00
2013-03-22 16:12:37 -05:00
2013-02-27 19:10:24 -08:00
2013-02-26 02:46:11 -05:00
2013-02-22 23:31:31 -05:00
2013-02-26 20:16:07 -08:00
2013-03-03 12:06:09 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-28 12:52:24 -08:00
2013-02-28 12:52:24 -08:00
2013-02-22 23:31:31 -05:00
2013-02-03 15:09:25 -05:00
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:36 -05:00
2013-02-27 19:10:11 -08:00
2013-02-22 23:31:31 -05:00
2013-03-01 19:48:30 -05:00
2013-02-19 08:42:45 +01:00
2013-03-01 23:51:07 -05:00
2013-02-28 13:21:44 -08:00
2013-02-27 19:10:24 -08:00
2013-03-01 23:51:07 -05:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-03-01 23:51:07 -05:00
2013-02-22 23:31:31 -05:00
2013-03-03 13:23:03 -08:00
2013-02-22 23:31:32 -05:00
2013-03-02 08:34:06 -08:00
2013-02-22 23:31:31 -05:00
2013-02-07 20:51:08 +01:00
2013-03-03 13:23:03 -08:00
2013-02-26 02:46:11 -05:00
2013-02-26 02:46:08 -05:00
2013-02-27 19:10:24 -08:00
2013-02-22 23:31:31 -05:00
2013-03-02 09:35:13 -05:00