Skip to contentSkip to conversation

mm/filemap: fix page cache corruption with large folios

PATCH In review Kairui Song 6 participants 15 messages Oct 1, 2024 – Mar 25, 2025 Stable branch

lore
Share & tools
lore
#0 lore raw

cover mm/filemap: fix page cache corruption with large folios

From: Kairui Song <[email protected]>

This series fixes the page cache corruption issue reported by Christian Theune [1]. The issue was reported affects kernels back to 5.19. Current maintained effected branches includes 6.1 and 6.6 and the fix was included in 6.10 already.

This series can be applied for both 6.1 and 6.6.

Patch 3/3 is the fixing patch. It was initially submitted and merge as an optimization but found to have fixed the corruption by handling race correctly.

Patch 1/3 and 2/3 is required for 3/3.

Patch 3/3 included some unit test code, making the LOC of the backport a bit higher, but should be OK to be kept, since they are just test code.

Note there seems still some unresolved problem in Link [1] but that should be a different issue, and the commits being backported have been well tested, they fix the corruption issue just fine.

Kairui Song (3):
mm/filemap: return early if failed to allocate memory for split lib/xarray: introduce a new helper xas_get_order mm/filemap: optimize filemap folio adding

 include/linux/xarray.h |  6 +++
 lib/test_xarray.c      | 93 ++++++++++++++++++++++++++++++++++++++++++
 lib/xarray.c           | 49 ++++++++++++++--------
 mm/filemap.c           | 50 ++++++++++++++++++-----
 4 files changed, 169 insertions(+), 29 deletions(-)
Signature · 1 line
2.46.1
#1 lore raw

PATCH 1/3 mm/filemap: return early if failed to allocate memory for split

From: Kairui Song <[email protected]>

commit de60fd8ddeda2b41fbe11df11733838c5f684616 upstream.

xas_split_alloc could fail with NOMEM, and in such case, it should abort early instead of keep going and fail the xas_split below.

Stable-dep-of: 6758c1128ceb ("mm/filemap: optimize filemap folio adding")

---
 mm/filemap.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
mm/filemap.c +4 -1
index 2809b1174f04..f85c13a1b739 100644
@@ -867,9 +867,12 @@ noinline int __filemap_add_folio(struct address_space *mapping,
 		unsigned int order = xa_get_order(xas.xa, xas.xa_index);
 		void *entry, *old = NULL;
 
-		if (order > folio_order(folio))
+		if (order > folio_order(folio)) {
 			xas_split_alloc(&xas, xa_load(xas.xa, xas.xa_index),
 					order, gfp);
+			if (xas_error(&xas))
+				goto error;
+		}
 		xas_lock_irq(&xas);
 		xas_for_each_conflict(&xas, entry) {
 			old = entry;
Signature · 1 line
2.46.1
maintainer
#2 lore raw

Re: [PATCH 6.1.y 6.6.y 1/3] mm/filemap: return early if failed to allocate memory for split

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected. No action required from the submitter.

The upstream commit SHA1 provided is correct: de60fd8ddeda2b41fbe11df11733838c5f684616

WARNING: Author mismatch between patch and upstream commit:
Backport author: Kairui Song<[email protected]> Commit author: Kairui Song<[email protected]>

Status in newer kernel trees:
6.13.y | Present (exact SHA1)
6.12.y | Present (exact SHA1)
6.6.y | Present (different SHA1: ff3c557fa93e)

Note: The patch differs from the upstream commit:
---

1:  de60fd8ddeda2 < -:  ------------- mm/filemap: return early if failed to allocate memory for split
-:  ------------- > 1:  344a09659766c Linux 6.1.131

---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |
#3 lore raw

PATCH 2/3 lib/xarray: introduce a new helper xas_get_order

In reply to Kairui Song

From: Kairui Song <[email protected]>

commit a4864671ca0bf51c8e78242951741df52c06766f upstream.

It can be used after xas_load to check the order of loaded entries. Compared to xa_get_order, it saves an XA_STATE and avoid a rewalk.

Added new test for xas_get_order, to make the test work, we have to export xas_get_order with EXPORT_SYMBOL_GPL.

Also fix a sparse warning by checking the slot value with xa_entry instead of accessing it directly, as suggested by Matthew Wilcox.

Stable-dep-of: 6758c1128ceb ("mm/filemap: optimize filemap folio adding")

---
 include/linux/xarray.h |  6 ++++++
 lib/test_xarray.c      | 34 +++++++++++++++++++++++++++++
 lib/xarray.c           | 49 ++++++++++++++++++++++++++----------------
 3 files changed, 71 insertions(+), 18 deletions(-)
include/linux/xarray.h +6 -0
index 44dd6d6e01bc..0e2feb72e9e5 100644
@@ -1530,6 +1530,7 @@ void xas_create_range(struct xa_state *);
 
 #ifdef CONFIG_XARRAY_MULTI
 int xa_get_order(struct xarray *, unsigned long index);
+int xas_get_order(struct xa_state *xas);
 void xas_split(struct xa_state *, void *entry, unsigned int order);
 void xas_split_alloc(struct xa_state *, void *entry, unsigned int order, gfp_t);
 #else
@@ -1538,6 +1539,11 @@ static inline int xa_get_order(struct xarray *xa, unsigned long index)
 	return 0;
 }
 
+static inline int xas_get_order(struct xa_state *xas)
+{
+	return 0;
+}
+
 static inline void xas_split(struct xa_state *xas, void *entry,
 		unsigned int order)
 {
lib/test_xarray.c +34 -0
index e77d4856442c..2e229012920b 100644
@@ -1756,6 +1756,39 @@ static noinline void check_get_order(struct xarray *xa)
 	}
 }
 
+static noinline void check_xas_get_order(struct xarray *xa)
+{
+	XA_STATE(xas, xa, 0);
+
+	unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 20 : 1;
+	unsigned int order;
+	unsigned long i, j;
+
+	for (order = 0; order < max_order; order++) {
+		for (i = 0; i < 10; i++) {
+			xas_set_order(&xas, i << order, order);
+			do {
+				xas_lock(&xas);
+				xas_store(&xas, xa_mk_value(i));
+				xas_unlock(&xas);
+			} while (xas_nomem(&xas, GFP_KERNEL));
+
+			for (j = i << order; j < (i + 1) << order; j++) {
+				xas_set_order(&xas, j, 0);
+				rcu_read_lock();
+				xas_load(&xas);
+				XA_BUG_ON(xa, xas_get_order(&xas) != order);
+				rcu_read_unlock();
+			}
+
+			xas_lock(&xas);
+			xas_set_order(&xas, i << order, order);
+			xas_store(&xas, NULL);
+			xas_unlock(&xas);
+		}
+	}
+}
+
 static noinline void check_destroy(struct xarray *xa)
 {
 	unsigned long index;
@@ -1805,6 +1838,7 @@ static int xarray_checks(void)
 	check_reserve(&xa0);
 	check_multi_store(&array);
 	check_get_order(&array);
+	check_xas_get_order(&array);
 	check_xa_alloc();
 	check_find(&array);
 	check_find_entry(&array);
lib/xarray.c +31 -18

70 lines not on this page · raw message

Signature · 1 line
2.46.1
maintainer
#4 lore raw

Re: [PATCH 6.1.y 6.6.y 2/3] lib/xarray: introduce a new helper xas_get_order

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected. No action required from the submitter.

The upstream commit SHA1 provided is correct: a4864671ca0bf51c8e78242951741df52c06766f

WARNING: Author mismatch between patch and upstream commit:
Backport author: Kairui Song<[email protected]> Commit author: Kairui Song<[email protected]>

Status in newer kernel trees:
6.13.y | Present (exact SHA1)
6.12.y | Present (exact SHA1)
6.6.y | Present (different SHA1: 734594d41c8e)

Note: The patch differs from the upstream commit:
---

1:  a4864671ca0bf < -:  ------------- lib/xarray: introduce a new helper xas_get_order
-:  ------------- > 1:  344a09659766c Linux 6.1.131

---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |
#5 lore raw

PATCH 3/3 mm/filemap: optimize filemap folio adding

In reply to Kairui Song

From: Kairui Song <[email protected]>

commit 6758c1128ceb45d1a35298912b974eb4895b7dd9 upstream.

Instead of doing multiple tree walks, do one optimism range check with lock hold, and exit if raced with another insertion. If a shadow exists, check it with a new xas_get_order helper before releasing the lock to avoid redundant tree walks for getting its order.

Drop the lock and do the allocation only if a split is needed.

In the best case, it only need to walk the tree once. If it needs to alloc and split, 3 walks are issued (One for first ranged conflict check and order retrieving, one for the second check after allocation, one for the insert after split).

Testing with 4K pages, in an 8G cgroup, with 16G brd as block device:

echo 3 > /proc/sys/vm/drop_caches

  fio -name=cached --numjobs=16 --filename=/mnt/test.img \
    --buffered=1 --ioengine=mmap --rw=randread --time_based \
    --ramp_time=30s --runtime=5m --group_reporting

Before:
bw ( MiB/s): min= 1027, max= 3520, per=100.00%, avg=2445.02, stdev=18.90, samples=8691
iops : min=263001, max=901288, avg=625924.36, stdev=4837.28, samples=8691

After (+7.3%):
bw ( MiB/s): min= 493, max= 3947, per=100.00%, avg=2625.56, stdev=25.74, samples=8651
iops : min=126454, max=1010681, avg=672142.61, stdev=6590.48, samples=8651

Test result with THP (do a THP randread then switch to 4K page in hope it issues a lot of splitting):

echo 3 > /proc/sys/vm/drop_caches

  fio -name=cached --numjobs=16 --filename=/mnt/test.img \
      --buffered=1 --ioengine=mmap -thp=1 --readonly \
      --rw=randread --time_based --ramp_time=30s --runtime=10m \
      --group_reporting

  fio -name=cached --numjobs=16 --filename=/mnt/test.img \
      --buffered=1 --ioengine=mmap \
      --rw=randread --time_based --runtime=5s --group_reporting

Before:
bw ( KiB/s): min= 4141, max=14202, per=100.00%, avg=7935.51, stdev=96.85, samples=18976
iops : min= 1029, max= 3548, avg=1979.52, stdev=24.23, samples=18976·

READ: bw=4545B/s (4545B/s), 4545B/s-4545B/s (4545B/s-4545B/s), io=64.0KiB (65.5kB), run=14419-14419msec

After (+12.5%):
bw ( KiB/s): min= 4611, max=15370, per=100.00%, avg=8928.74, stdev=105.17, samples=19146
iops : min= 1151, max= 3842, avg=2231.27, stdev=26.29, samples=19146

READ: bw=4635B/s (4635B/s), 4635B/s-4635B/s (4635B/s-4635B/s), io=64.0KiB (65.5kB), run=14137-14137msec

The performance is better for both 4K (+7.5%) and THP (+12.5%) cached read.

---
 lib/test_xarray.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++
 mm/filemap.c      | 53 +++++++++++++++++++++++++++++++-----------
 2 files changed, 98 insertions(+), 14 deletions(-)
lib/test_xarray.c +59 -0
index 2e229012920b..542926da61a3 100644
@@ -1789,6 +1789,64 @@ static noinline void check_xas_get_order(struct xarray *xa)
 	}
 }
 
+static noinline void check_xas_conflict_get_order(struct xarray *xa)
+{
+	XA_STATE(xas, xa, 0);
+
+	void *entry;
+	int only_once;
+	unsigned int max_order = IS_ENABLED(CONFIG_XARRAY_MULTI) ? 20 : 1;
+	unsigned int order;
+	unsigned long i, j, k;
+
+	for (order = 0; order < max_order; order++) {
+		for (i = 0; i < 10; i++) {
+			xas_set_order(&xas, i << order, order);
+			do {
+				xas_lock(&xas);
+				xas_store(&xas, xa_mk_value(i));
+				xas_unlock(&xas);
+			} while (xas_nomem(&xas, GFP_KERNEL));
+
+			/*
+			 * Ensure xas_get_order works with xas_for_each_conflict.
+			 */
+			j = i << order;
+			for (k = 0; k < order; k++) {
+				only_once = 0;
+				xas_set_order(&xas, j + (1 << k), k);
+				xas_lock(&xas);
+				xas_for_each_conflict(&xas, entry) {
+					XA_BUG_ON(xa, entry != xa_mk_value(i));
+					XA_BUG_ON(xa, xas_get_order(&xas) != order);
+					only_once++;
+				}
+				XA_BUG_ON(xa, only_once != 1);
+				xas_unlock(&xas);
+			}
+
+			if (order < max_order - 1) {
+				only_once = 0;
+				xas_set_order(&xas, (i & ~1UL) << order, order + 1);
+				xas_lock(&xas);
+				xas_for_each_conflict(&xas, entry) {
+					XA_BUG_ON(xa, entry != xa_mk_value(i));
+					XA_BUG_ON(xa, xas_get_order(&xas) != order);
+					only_once++;
+				}
+				XA_BUG_ON(xa, only_once != 1);
+				xas_unlock(&xas);
+			}
+
+			xas_set_order(&xas, i << order, order);
+			xas_lock(&xas);
+			xas_store(&xas, NULL);
+			xas_unlock(&xas);
+		}
+	}
+}
+
+
 static noinline void check_destroy(struct xarray *xa)
 {
 	unsigned long index;
@@ -1839,6 +1897,7 @@ static int xarray_checks(void)
 	check_multi_store(&array);
 	check_get_order(&array);
 	check_xas_get_order(&array);
+	check_xas_conflict_get_order(&array);
 	check_xa_alloc();
 	check_find(&array);
 	check_find_entry(&array);
mm/filemap.c +39 -14

89 lines not on this page · raw message

Signature · 1 line
2.46.1
maintainer
#6 lore raw

Re: [PATCH 6.1.y 6.6.y 3/3] mm/filemap: optimize filemap folio adding

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected. No action required from the submitter.

The upstream commit SHA1 provided is correct: 6758c1128ceb45d1a35298912b974eb4895b7dd9

WARNING: Author mismatch between patch and upstream commit:
Backport author: Kairui Song<[email protected]> Commit author: Kairui Song<[email protected]>

Status in newer kernel trees:
6.13.y | Present (exact SHA1)
6.12.y | Present (exact SHA1)
6.6.y | Present (different SHA1: 722e9e5acccf)

Note: The patch differs from the upstream commit:
---

1:  6758c1128ceb4 < -:  ------------- mm/filemap: optimize filemap folio adding
-:  ------------- > 1:  344a09659766c Linux 6.1.131

---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |
maintainer
#7 lore raw
In reply to Kairui Song
Quoted 29 lines · Kairui Song

From: Kairui Song <[email protected]>

This series fixes the page cache corruption issue reported by Christian Theune [1]. The issue was reported affects kernels back to 5.19. Current maintained effected branches includes 6.1 and 6.6 and the fix was included in 6.10 already.

This series can be applied for both 6.1 and 6.6.

Patch 3/3 is the fixing patch. It was initially submitted and merge as an optimization but found to have fixed the corruption by handling race correctly.

Patch 1/3 and 2/3 is required for 3/3.

Patch 3/3 included some unit test code, making the LOC of the backport a bit higher, but should be OK to be kept, since they are just test code.

Note there seems still some unresolved problem in Link [1] but that should be a different issue, and the commits being backported have been well tested, they fix the corruption issue just fine.

Kairui Song (3):
mm/filemap: return early if failed to allocate memory for split lib/xarray: introduce a new helper xas_get_order mm/filemap: optimize filemap folio adding

Quoted 10 lines
 include/linux/xarray.h |  6 +++
 lib/test_xarray.c      | 93 ++++++++++++++++++++++++++++++++++++++++++
 lib/xarray.c           | 49 ++++++++++++++--------
 mm/filemap.c           | 50 ++++++++++++++++++-----
 4 files changed, 169 insertions(+), 29 deletions(-)
Signature · 1 line
2.46.1

All now queued up, thanks.

greg k-h

#8 lore raw
In reply to Kairui Song

Hello,

After applying this patch series to our 6.1 kernel and enabling XFS large folios, we encountered random core dumps in one of our Hadoop services. These core dumps occurred sporadically over several weeks, and it took us a long time to identify XFS large folios as the root cause.

Reverting commit 6795801366da0cd3d99e27c37f020a8f16714886 ("xfs: Support large folios") eliminated the issue. However, we have yet to determine the exact cause, as there are no warnings or errors in the kernel logs when the core dump occurs. Additionally, we have not found a reliable way to reproduce it consistently. While we have managed to trigger the issue within a few days on our test servers, this has not provided significant insights.

At this point, XFS large folios appear to be unreliable in the 6.1.y stable kernel.

We would appreciate any suggestions, such as adding debug messages to the kernel source code, to help us diagnose the root cause.

Regards

Yafang

#9 lore raw
Quoted 3 lines · Yafang Shao

At this point, XFS large folios appear to be unreliable in the 6.1.y stable kernel.

I suspect it's a bad idea to start using large folios on stable kernels. Even with the page cache corruption fix, 6.1 is old enough that I don't know what other fixes have happened since.

It's not like the large folio code has been _hugely_ problematic, but there has definitely been various small fixes related to it, and maybe some of them have missed stable.

So I think stable should revert the "turn on large folios" in general.

Quoted 2 lines · That

We would appreciate any suggestions, such as adding debug messages to the kernel source code, to help us diagnose the root cause.

I think the first thing to do - if you can - is to make sure that a much more *current* kernel actually is ok.

Without a consistent reproducer it's going to be hard to really bisect things, but the first step should be to make sure it's not some new kind of issue that happens to be unique to what you do.

By "current" I don't necessarily mean "very latest" - 6.14 is going to be released this weekend - but certainly something much more recent than 6.1-stable.

Because while the stable trees obviously collect modern fixes, subtler issues can easily fall through if people don't realize how important a particular fix was. Sometimes the "obvious cleanup patches" end up fixing things unintentionally just by making the code more straightforward and correcting something in the process.

Without any real clues outside of "corruption", it's hard to even guess whether it's core MM or VFS code, or some XFS-specific thing. There has been large folio work in all three areas.

So I suspect unless somebody has something in mind, "bisect it" to at least partially narrowing it down would be the only thing to do. Bisecting to one particular commit obviously is the best scenario, but even narrowing it down to "the issue still happens in 6.12, but is gone in 6.13" kind of narrowing down might help give people more of a place to start looking.

Linus

#10 lore raw
Quoted 8 lines · Linus Torvalds
Quoted 3 lines

We would appreciate any suggestions, such as adding debug messages to the kernel source code, to help us diagnose the root cause.

I think the first thing to do - if you can - is to make sure that a much more *current* kernel actually is ok.

Quick checkin from my side: we’ve been running with this fix for a while now and have been running smoothly on 6.6 for a bit more than 4 months now. We're currently on 6.6.80.

I’ve seen 1 or 2 single reports about blocked tasks that showed folio involvement in the traceback since then, but my status so far is that those were caused by actually blocked IO and both of them recovered cleanly without need of intervention/reboot or any sign of corruption.

When we started diagnosing this we’ve improved our infrastructure to be able to more quickly and safely evaluate new kernel versions. I’ll put a note in to get the migration to 6.12 going and if anything comes up I’ll raise a hand.

Signature · 4 lines
Christian Theune · [email protected] · +49 345 219401 0
Flying Circus Internet Operations GmbH · https://flyingcircus.io
Leipziger Str. 70/71 · 06108 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian Theune, Christian Zagrodnick
#11 lore raw
In reply to Linus Torvalds
Quoted 8 lines · Linus Torvalds
Quoted 3 lines · Yafang Shao

At this point, XFS large folios appear to be unreliable in the 6.1.y stable kernel.

I suspect it's a bad idea to start using large folios on stable kernels.

It seems that way. Since the 6.1.y stable branch continues to enable XFS large folios after the page cache corruption issue was resolved, we considered it safe to keep the feature enabled. As a result, we did not revert the problematic commit after applying this patch series.

Quoted 8 lines

Even with the page cache corruption fix, 6.1 is old enough that I don't know what other fixes have happened since.

It's not like the large folio code has been _hugely_ problematic, but there has definitely been various small fixes related to it, and maybe some of them have missed stable.

So I think stable should revert the "turn on large folios" in general.

I will send a revert of commit 6795801366da ('xfs: Support large folios') to the 6.1.y stable.

Quoted 23 lines
Quoted 2 lines · That

We would appreciate any suggestions, such as adding debug messages to the kernel source code, to help us diagnose the root cause.

I think the first thing to do - if you can - is to make sure that a much more *current* kernel actually is ok.

Without a consistent reproducer it's going to be hard to really bisect things, but the first step should be to make sure it's not some new kind of issue that happens to be unique to what you do.

By "current" I don't necessarily mean "very latest" - 6.14 is going to be released this weekend - but certainly something much more recent than 6.1-stable.

Because while the stable trees obviously collect modern fixes, subtler issues can easily fall through if people don't realize how important a particular fix was. Sometimes the "obvious cleanup patches" end up fixing things unintentionally just by making the code more straightforward and correcting something in the process.

Quoted 3 lines

Without any real clues outside of "corruption", it's hard to even guess whether it's core MM or VFS code, or some XFS-specific thing. There has been large folio work in all three areas.

This issue is particularly challenging to diagnose because there are no warnings in the kernel log, and the kernel continues to function perfectly fine even after the application core dump occurs.

Quoted 7 lines

So I suspect unless somebody has something in mind, "bisect it" to at least partially narrowing it down would be the only thing to do. Bisecting to one particular commit obviously is the best scenario, but even narrowing it down to "the issue still happens in 6.12, but is gone in 6.13" kind of narrowing down might help give people more of a place to start looking.

Thank you for your suggestion. I will give it a try, though it might take some time since we haven’t yet found a reliable way to reproduce the issue.

Signature · 2 lines
Regards
Yafang
#12 lore raw

PATCH 1/1 Revert "xfs: Support large folios"

In reply to Linus Torvalds

This reverts commit 6795801366da0cd3d99e27c37f020a8f16714886.

Even after resolving the page cache corruption issue [0], problems persist with XFS large folios. Recently, we encountered random core dumps in one of our Hadoop services. These core dumps occurred sporadically over several weeks, and it took significant effort to pinpoint XFS large folios as the root cause. After reverting the related commit, the issues disappeared entirely. Given these issues, it seems premature to adopt large folios on stable kernels. Therefore, we propose reverting this change.

---
 fs/xfs/xfs_icache.c | 2 --
 1 file changed, 2 deletions(-)
fs/xfs/xfs_icache.c +0 -2
index dd5a664c294f..f59890430f40 100644
@@ -88,7 +88,6 @@ xfs_inode_alloc(
 	/* VFS doesn't initialise i_mode or i_state! */
 	VFS_I(ip)->i_mode = 0;
 	VFS_I(ip)->i_state = 0;
-	mapping_set_large_folios(VFS_I(ip)->i_mapping);
 
 	XFS_STATS_INC(mp, vn_active);
 	ASSERT(atomic_read(&ip->i_pincount) == 0);
@@ -323,7 +322,6 @@ xfs_reinit_inode(
 	inode->i_rdev = dev;
 	inode->i_uid = uid;
 	inode->i_gid = gid;
-	mapping_set_large_folios(inode->i_mapping);
 	return error;
 }
 
Signature · 1 line
2.43.5
maintainer
#13 lore raw

Re: [PATCH 6.1.y] Revert "xfs: Support large folios"

Quoted 10 lines · Yafang Shao

This reverts commit 6795801366da0cd3d99e27c37f020a8f16714886.

Even after resolving the page cache corruption issue [0], problems persist with XFS large folios. Recently, we encountered random core dumps in one of our Hadoop services. These core dumps occurred sporadically over several weeks, and it took significant effort to pinpoint XFS large folios as the root cause. After reverting the related commit, the issues disappeared entirely. Given these issues, it seems premature to adopt large folios on stable kernels. Therefore, we propose reverting this change.

Quoted 5 lines
---
 fs/xfs/xfs_icache.c | 2 --
 1 file changed, 2 deletions(-)

I need this to be acked by the xfs stable maintainers before I can take it to the 6.1.y tree.

thanks,

greg k-h

maintainer
#14 lore raw

Re: [PATCH 6.1.y] Revert "xfs: Support large folios"

In reply to Yafang Shao

[ Sasha's backport helper bot ]

Hi,

Summary of potential issues:
⚠️ Could not find matching upstream commit

No upstream commit was identified. Using temporary commit for testing.

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.1.y        |  Success    |  Success   |