Repository navigation
Commit 0be5dc6
Btrfs: fixup reserved trace points
In trying to track down where we were leaking reserved space I noticed our
reserve extent tracepoints are a little off. First we were saying that the
reserved space had been alloced in btrfs_reserve_extent, which isn't the case,
this needs to be triggered when we actually allocate the space when we run the
delayed ref. We were also missing a few places where we should have been
tracing the btrfs_reserve_extent_free tracepoint. With these in place I was
able to put together where we were leaking reserved space. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>1 parent 2b1360d commit 0be5dc6
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5262 | 5262 | | |
5263 | 5263 | | |
5264 | 5264 | | |
| 5265 | + | |
| 5266 | + | |
5265 | 5267 | | |
5266 | 5268 | | |
5267 | 5269 | | |
| |||
5965 | 5967 | | |
5966 | 5968 | | |
5967 | 5969 | | |
| 5970 | + | |
5968 | 5971 | | |
5969 | 5972 | | |
5970 | 5973 | | |
| |||
6592 | 6595 | | |
6593 | 6596 | | |
6594 | 6597 | | |
6595 | | - | |
6596 | | - | |
6597 | 6598 | | |
6598 | 6599 | | |
6599 | 6600 | | |
| |||
6705 | 6706 | | |
6706 | 6707 | | |
6707 | 6708 | | |
| 6709 | + | |
6708 | 6710 | | |
6709 | 6711 | | |
6710 | 6712 | | |
| |||
6777 | 6779 | | |
6778 | 6780 | | |
6779 | 6781 | | |
| 6782 | + | |
| 6783 | + | |
6780 | 6784 | | |
6781 | 6785 | | |
6782 | 6786 | | |
| |||
0 commit comments