Re: Yet another trace from a crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can you try adding the attached patch into your kernel?  It applies after the
only place in the whole kernel that sets this flag, so given that the flag
should be caught if still set when a page is released, it must be being set on
a page that has already been released.

David
---
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index 47aefd3..e5471b8 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -983,6 +983,7 @@ void fscache_mark_pages_cached(struct fscache_retrieval *op,
 				       cookie->def->name, page->index);
 			}
 		}
+		WARN_ON_ONCE(!page->mapping);
 	}
 
 	if (cookie->def->mark_pages_cached)

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux