Commit b2a88c2
committed
Merge tag 'xfs-5.20-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs updates from Darrick Wong:
"The biggest changes for this release are the log scalability
improvements, lockless lookups for the buffer cache, and making the
attr fork a permanent part of the incore inode in preparation for
directory parent pointers.
There's also a bunch of bug fixes that have accumulated since -rc5. I
might send you a second pull request with some more bug fixes that I'm
still working on.
Once the merge window ends, I will hand maintainership back to Dave
Chinner until the 6.1-rc1 release so that I can conduct the design
review for the online fsck feature, and try to get it merged.
Summary:
- Improve scalability of the XFS log by removing spinlocks and global
synchronization points.
- Add security labels to whiteout inodes to match the other
filesystems.
- Clean up per-ag pointer passing to simplify call sites.
- Reduce verifier overhead by precalculating more AG geometry.
- Implement fast-path lockless lookups in the buffer cache to reduce
spinlock hammering.
- Make attr forks a permanent part of the inode structure to fix a
UAF bug and because most files these days tend to have security
labels and soon will have parent pointers too.
- Clean up XFS_IFORK_Q usage and give it a better name.
- Fix more UAF bugs in the xattr code.
- SOB my tags.
- Fix some typos in the timestamp range documentation.
- Fix a few more memory leaks.
- Code cleanups and typo fixes.
- Fix an unlocked inode fork pointer access in getbmap"
* tag 'xfs-5.20-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (61 commits)
xfs: delete extra space and tab in blank line
xfs: fix NULL pointer dereference in xfs_getbmap()
xfs: Fix typo 'the the' in comment
xfs: Fix comment typo
xfs: don't leak memory when attr fork loading fails
xfs: fix for variable set but not used warning
xfs: xfs_buf cache destroy isn't RCU safe
xfs: delete unnecessary NULL checks
xfs: fix comment for start time value of inode with bigtime enabled
xfs: fix use-after-free in xattr node block inactivation
xfs: lockless buffer lookup
xfs: remove a superflous hash lookup when inserting new buffers
xfs: reduce the number of atomic when locking a buffer after lookup
xfs: merge xfs_buf_find() and xfs_buf_get_map()
xfs: break up xfs_buf_find() into individual pieces
xfs: add in-memory iunlink log item
xfs: add log item precommit operation
xfs: combine iunlink inode update functions
xfs: clean up xfs_iunlink_update_inode()
xfs: double link the unlinked inode list
...86 files changed
Lines changed: 2306 additions & 1696 deletions
File tree
- Documentation/filesystems
- fs/xfs
- libxfs
- scrub
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 322 additions & 39 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 123 | + | |
| 124 | + | |
126 | 125 | | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
| 133 | + | |
130 | 134 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
204 | 262 | | |
205 | 263 | | |
206 | 264 | | |
207 | 265 | | |
| 266 | + | |
208 | 267 | | |
209 | 268 | | |
210 | 269 | | |
| |||
263 | 322 | | |
264 | 323 | | |
265 | 324 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | 325 | | |
271 | 326 | | |
272 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
273 | 337 | | |
274 | 338 | | |
275 | 339 | | |
| |||
280 | 344 | | |
281 | 345 | | |
282 | 346 | | |
283 | | - | |
284 | | - | |
285 | 347 | | |
286 | 348 | | |
287 | 349 | | |
| |||
293 | 355 | | |
294 | 356 | | |
295 | 357 | | |
296 | | - | |
297 | 358 | | |
298 | 359 | | |
299 | 360 | | |
| |||
321 | 382 | | |
322 | 383 | | |
323 | 384 | | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | 385 | | |
331 | 386 | | |
332 | 387 | | |
| |||
352 | 407 | | |
353 | 408 | | |
354 | 409 | | |
355 | | - | |
| 410 | + | |
356 | 411 | | |
357 | 412 | | |
358 | 413 | | |
| |||
479 | 534 | | |
480 | 535 | | |
481 | 536 | | |
482 | | - | |
| 537 | + | |
483 | 538 | | |
484 | 539 | | |
485 | 540 | | |
| |||
550 | 605 | | |
551 | 606 | | |
552 | 607 | | |
553 | | - | |
| 608 | + | |
554 | 609 | | |
555 | 610 | | |
556 | 611 | | |
| |||
761 | 816 | | |
762 | 817 | | |
763 | 818 | | |
764 | | - | |
| 819 | + | |
765 | 820 | | |
766 | | - | |
767 | 821 | | |
768 | 822 | | |
| 823 | + | |
769 | 824 | | |
770 | 825 | | |
771 | 826 | | |
| |||
782 | 837 | | |
783 | 838 | | |
784 | 839 | | |
785 | | - | |
786 | | - | |
| 840 | + | |
| 841 | + | |
787 | 842 | | |
788 | 843 | | |
789 | 844 | | |
790 | 845 | | |
791 | 846 | | |
792 | | - | |
| 847 | + | |
793 | 848 | | |
794 | 849 | | |
795 | 850 | | |
| |||
801 | 856 | | |
802 | 857 | | |
803 | 858 | | |
804 | | - | |
| 859 | + | |
805 | 860 | | |
806 | 861 | | |
807 | 862 | | |
808 | 863 | | |
809 | 864 | | |
810 | | - | |
| 865 | + | |
| 866 | + | |
811 | 867 | | |
812 | 868 | | |
813 | 869 | | |
814 | 870 | | |
815 | 871 | | |
816 | 872 | | |
817 | 873 | | |
818 | | - | |
| 874 | + | |
819 | 875 | | |
820 | 876 | | |
821 | 877 | | |
| |||
844 | 900 | | |
845 | 901 | | |
846 | 902 | | |
847 | | - | |
| 903 | + | |
848 | 904 | | |
849 | 905 | | |
850 | 906 | | |
| |||
868 | 924 | | |
869 | 925 | | |
870 | 926 | | |
| 927 | + | |
871 | 928 | | |
872 | | - | |
| 929 | + | |
873 | 930 | | |
874 | 931 | | |
875 | 932 | | |
| |||
883 | 940 | | |
884 | 941 | | |
885 | 942 | | |
886 | | - | |
| 943 | + | |
887 | 944 | | |
888 | | - | |
889 | 945 | | |
890 | 946 | | |
891 | 947 | | |
892 | 948 | | |
893 | 949 | | |
894 | 950 | | |
895 | 951 | | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
900 | 955 | | |
901 | 956 | | |
902 | 957 | | |
903 | 958 | | |
904 | 959 | | |
905 | | - | |
906 | | - | |
907 | 960 | | |
908 | 961 | | |
909 | 962 | | |
910 | 963 | | |
911 | 964 | | |
912 | | - | |
| 965 | + | |
913 | 966 | | |
914 | 967 | | |
915 | 968 | | |
| |||
924 | 977 | | |
925 | 978 | | |
926 | 979 | | |
927 | | - | |
928 | | - | |
| 980 | + | |
929 | 981 | | |
930 | 982 | | |
931 | 983 | | |
932 | 984 | | |
933 | | - | |
| 985 | + | |
934 | 986 | | |
935 | 987 | | |
936 | 988 | | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
937 | 997 | | |
938 | 998 | | |
939 | 999 | | |
940 | 1000 | | |
941 | 1001 | | |
942 | | - | |
943 | | - | |
| 1002 | + | |
944 | 1003 | | |
945 | 1004 | | |
946 | 1005 | | |
947 | 1006 | | |
948 | 1007 | | |
949 | 1008 | | |
950 | | - | |
951 | 1009 | | |
952 | 1010 | | |
953 | 1011 | | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | 1012 | | |
958 | | - | |
| 1013 | + | |
959 | 1014 | | |
960 | 1015 | | |
961 | | - | |
| 1016 | + | |
962 | 1017 | | |
963 | 1018 | | |
964 | 1019 | | |
965 | | - | |
966 | | - | |
967 | 1020 | | |
968 | 1021 | | |
969 | | - | |
| 1022 | + | |
970 | 1023 | | |
971 | 1024 | | |
972 | 1025 | | |
| |||
0 commit comments