summaryrefslogtreecommitdiff
path: root/include/linux/page-flags.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-30 15:40:38 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-30 15:40:38 -0400
commite7acf15b702df37aa3571cc28a8f2dd39b80b20d (patch)
tree4d72f794497d490c98afc32fdb22a8676a2d2bcc /include/linux/page-flags.h
parent2f1171b09647142da831c47675b419da3fdf4707 (diff)
pop assert when freeing page after bcachefs shutdownbcachefs-put-folio-assert
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/page-flags.h')
-rw-r--r--include/linux/page-flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h
index e6a21b62dcce..f21463fd43ed 100644
--- a/include/linux/page-flags.h
+++ b/include/linux/page-flags.h
@@ -111,6 +111,7 @@ enum pageflags {
PG_swapbacked, /* Page is backed by RAM/swap */
PG_unevictable, /* Page is "unevictable" */
PG_dropbehind, /* drop pages on IO completion */
+ PG_bcachefs_warn,
#ifdef CONFIG_MMU
PG_mlocked, /* Page is vma mlocked */
#endif
@@ -667,6 +668,8 @@ FOLIO_TEST_CLEAR_FLAG_FALSE(young)
FOLIO_FLAG_FALSE(idle)
#endif
+FOLIO_FLAG(bcachefs_warn, FOLIO_HEAD_PAGE)
+
/*
* PageReported() is used to track reported free pages within the Buddy
* allocator. We can use the non-atomic version of the test and set