Commit 4fcc94d
xfs: track the iunlink list pointer in the xfs_inode
Having direct access to the i_next_unlinked pointer in unlinked
inodes greatly simplifies the processing of inodes on the unlinked
list. We no longer need to look up the inode buffer just to find
next inode in the list if the xfs_inode is in memory. These
improvements will be realised over upcoming patches as other
dependencies on the inode buffer for unlinked list processing are
removed.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>1 parent a4454cd commit 4fcc94d
4 files changed
Lines changed: 10 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2084 | 2084 | | |
2085 | 2085 | | |
2086 | 2086 | | |
2087 | | - | |
| 2087 | + | |
| 2088 | + | |
2088 | 2089 | | |
2089 | 2090 | | |
2090 | 2091 | | |
| |||
2153 | 2154 | | |
2154 | 2155 | | |
2155 | 2156 | | |
| 2157 | + | |
2156 | 2158 | | |
2157 | 2159 | | |
2158 | 2160 | | |
| |||
2354 | 2356 | | |
2355 | 2357 | | |
2356 | 2358 | | |
| 2359 | + | |
2357 | 2360 | | |
2358 | 2361 | | |
2359 | 2362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2673 | 2673 | | |
2674 | 2674 | | |
2675 | 2675 | | |
2676 | | - | |
2677 | | - | |
2678 | 2676 | | |
2679 | 2677 | | |
2680 | 2678 | | |
| |||
2684 | 2682 | | |
2685 | 2683 | | |
2686 | 2684 | | |
2687 | | - | |
2688 | | - | |
2689 | | - | |
2690 | | - | |
2691 | | - | |
2692 | | - | |
2693 | | - | |
2694 | | - | |
2695 | 2685 | | |
2696 | 2686 | | |
2697 | 2687 | | |
2698 | 2688 | | |
2699 | | - | |
2700 | | - | |
2701 | | - | |
2702 | | - | |
| 2689 | + | |
2703 | 2690 | | |
2704 | 2691 | | |
2705 | 2692 | | |
2706 | | - | |
2707 | | - | |
2708 | 2693 | | |
2709 | 2694 | | |
2710 | 2695 | | |
| |||
0 commit comments