http://oss.sgi.com/bugzilla/show_bug.cgi?id=801
------- Additional Comments From sandeen-xfs@xxxxxxxxxxx 2008-12-11 18:23 CST
-------
I believe I have a fix for this:
Index: linux-2.6/fs/xfs/linux-2.6/xfs_aops.c
===================================================================
--- linux-2.6.orig/fs/xfs/linux-2.6/xfs_aops.c 2008-09-22 10:34:25.000000000
-0500
+++ linux-2.6/fs/xfs/linux-2.6/xfs_aops.c 2008-12-11 18:05:13.064512852
-0600
@@ -1004,6 +1004,12 @@ xfs_page_state_convert(
continue;
}
+ /* This *should* mean it's just a hole (discard_buffer leaves
uptodate set) */
+ if (!buffer_dirty(bh) && !buffer_mapped(bh) &&
buffer_uptodate(bh)) {
+ iomap_valid = 0;
+ continue;
+ }
+
if (iomap_valid)
iomap_valid = xfs_iomap_valid(&iomap, offset);
I'll write up more on the details of the problem after more testing.
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|