Commit 1d1df41
committed
Merge tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim:
"In this round, we've tried to address some performance issues in
f2fs_checkpoint and direct IO flows. Also, there was a work to enhance
the page cache management used for compression. Other than them, we've
done typical work including sysfs, code clean-ups, tracepoint, sanity
check, in addition to bug fixes on corner cases.
Enhancements:
- use iomap for direct IO
- try to avoid lock contention to improve f2fs_ckpt speed
- avoid unnecessary memory allocation in compression flow
- POSIX_FADV_DONTNEED drops the page cache containing compression
pages
- add some sysfs entries (gc_urgent_high_remaining, pending_discard)
Bug fixes:
- try not to expose unwritten blocks to user by DIO (this was added
to avoid merge conflict; another patch is coming to address other
missing case)
- relax minor error condition for file pinning feature used in
Android OTA
- fix potential deadlock case in compression flow
- should not truncate any block on pinned file
In addition, we've done some code clean-ups and tracepoint/sanity
check improvement"
* tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (29 commits)
f2fs: do not allow partial truncation on pinned file
f2fs: remove redunant invalidate compress pages
f2fs: Simplify bool conversion
f2fs: don't drop compressed page cache in .{invalidate,release}page
f2fs: fix to reserve space for IO align feature
f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
f2fs: support fault injection to f2fs_trylock_op()
f2fs: clean up __find_inline_xattr() with __find_xattr()
f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
f2fs: do not bother checkpoint by f2fs_get_node_info
f2fs: avoid down_write on nat_tree_lock during checkpoint
f2fs: compress: fix potential deadlock of compress file
f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
f2fs: add gc_urgent_high_remaining sysfs node
f2fs: fix to do sanity check in is_alive()
f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
f2fs: fix to do sanity check on inode type during garbage collection
f2fs: avoid duplicate call of mark_inode_dirty
f2fs: show number of pending discard commands
f2fs: support POSIX_FADV_DONTNEED drop compressed page cache
...File tree
20 files changed
+759
-505
lines changed- Documentation
- ABI/testing
- filesystems
- fs/f2fs
- include/trace/events
20 files changed
+759
-505
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
528 | 533 | | |
529 | 534 | | |
530 | 535 | | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | | - | |
1306 | | - | |
| 1305 | + | |
| 1306 | + | |
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
| |||
620 | 621 | | |
621 | 622 | | |
622 | 623 | | |
623 | | - | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
685 | 686 | | |
686 | 687 | | |
687 | 688 | | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | 689 | | |
696 | 690 | | |
697 | 691 | | |
| |||
701 | 695 | | |
702 | 696 | | |
703 | 697 | | |
704 | | - | |
705 | | - | |
| 698 | + | |
706 | 699 | | |
707 | | - | |
708 | 700 | | |
709 | 701 | | |
710 | 702 | | |
711 | 703 | | |
712 | 704 | | |
713 | 705 | | |
714 | 706 | | |
715 | | - | |
716 | | - | |
717 | | - | |
| 707 | + | |
718 | 708 | | |
719 | 709 | | |
720 | 710 | | |
| |||
1296 | 1286 | | |
1297 | 1287 | | |
1298 | 1288 | | |
1299 | | - | |
| 1289 | + | |
1300 | 1290 | | |
1301 | 1291 | | |
1302 | 1292 | | |
| |||
1308 | 1298 | | |
1309 | 1299 | | |
1310 | 1300 | | |
1311 | | - | |
| 1301 | + | |
1312 | 1302 | | |
1313 | 1303 | | |
1314 | 1304 | | |
1315 | 1305 | | |
1316 | 1306 | | |
1317 | 1307 | | |
1318 | | - | |
| 1308 | + | |
1319 | 1309 | | |
1320 | 1310 | | |
1321 | 1311 | | |
| |||
1360 | 1350 | | |
1361 | 1351 | | |
1362 | 1352 | | |
1363 | | - | |
| 1353 | + | |
1364 | 1354 | | |
1365 | 1355 | | |
1366 | 1356 | | |
| |||
1385 | 1375 | | |
1386 | 1376 | | |
1387 | 1377 | | |
1388 | | - | |
1389 | | - | |
| 1378 | + | |
| 1379 | + | |
1390 | 1380 | | |
1391 | 1381 | | |
1392 | 1382 | | |
| |||
1424 | 1414 | | |
1425 | 1415 | | |
1426 | 1416 | | |
1427 | | - | |
1428 | | - | |
1429 | | - | |
| 1417 | + | |
1430 | 1418 | | |
1431 | 1419 | | |
1432 | 1420 | | |
| |||
1468 | 1456 | | |
1469 | 1457 | | |
1470 | 1458 | | |
1471 | | - | |
1472 | | - | |
| 1459 | + | |
1473 | 1460 | | |
1474 | 1461 | | |
1475 | | - | |
1476 | | - | |
1477 | | - | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
1478 | 1469 | | |
1479 | 1470 | | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1480 | 1474 | | |
1481 | 1475 | | |
1482 | 1476 | | |
1483 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
1484 | 1480 | | |
| 1481 | + | |
1485 | 1482 | | |
1486 | 1483 | | |
1487 | 1484 | | |
1488 | 1485 | | |
1489 | | - | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1490 | 1491 | | |
1491 | 1492 | | |
1492 | 1493 | | |
| |||
1501 | 1502 | | |
1502 | 1503 | | |
1503 | 1504 | | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
| 1505 | + | |
| 1506 | + | |
1508 | 1507 | | |
1509 | 1508 | | |
1510 | 1509 | | |
1511 | 1510 | | |
1512 | | - | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | 1511 | | |
1521 | 1512 | | |
1522 | | - | |
1523 | | - | |
| 1513 | + | |
1524 | 1514 | | |
1525 | 1515 | | |
1526 | 1516 | | |
| |||
1529 | 1519 | | |
1530 | 1520 | | |
1531 | 1521 | | |
1532 | | - | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
1538 | | - | |
1539 | | - | |
1540 | 1522 | | |
1541 | 1523 | | |
1542 | 1524 | | |
| |||
0 commit comments