Commit 4a4be1a
committed
Revert "vfs: Delete the associated dentry when deleting a file"
This reverts commit 681ce86.
We gave it a try, but it turns out the kernel test robot did in fact
find performance regressions for it, so we'll have to look at the more
involved alternative fixes for Yafang Shao's Elasticsearch load issue.
There were several alternatives discussed, they just weren't as simple
as this first attempt.
The report is of a -7.4% regression of filebench.sum_operations/s, which
appears significant enough to trigger my "this patch may get reverted if
somebody finds a performance regression on some other load" rule.
So it's still the case that we should end up deleting dentries more
aggressively - or just be better at pruning them later - but it needs a
bit more finesse than this simple thing.
Link: https://lore.kernel.org/all/[email protected]/
Cc: Yafang Shao <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christian Brauner <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>1 parent 397a83a commit 4a4be1a
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2360 | 2360 | | |
2361 | 2361 | | |
2362 | 2362 | | |
2363 | | - | |
2364 | | - | |
2365 | | - | |
2366 | | - | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
2367 | 2368 | | |
2368 | 2369 | | |
2369 | 2370 | | |
2370 | 2371 | | |
2371 | 2372 | | |
2372 | 2373 | | |
2373 | | - | |
| 2374 | + | |
| 2375 | + | |
2374 | 2376 | | |
2375 | 2377 | | |
2376 | 2378 | | |
| |||
2379 | 2381 | | |
2380 | 2382 | | |
2381 | 2383 | | |
2382 | | - | |
2383 | | - | |
2384 | 2384 | | |
2385 | 2385 | | |
2386 | 2386 | | |
2387 | 2387 | | |
2388 | 2388 | | |
2389 | 2389 | | |
2390 | 2390 | | |
| 2391 | + | |
2391 | 2392 | | |
2392 | 2393 | | |
2393 | 2394 | | |
| |||
0 commit comments