Commit 215b2bf
xfs: fix dev_t usage in xmbuf tracepoints
Fix some inconsistencies in the xmbuf tracepoints -- they should be
reporting the major/minor of the filesystem that they're associated
with, so that we have some clue on whose behalf the xmbuf was created.
Fix the xmbuf_free tracepoint to report the same.
Don't call the trace function until the xmbuf is fully initialized.
Fixes: 5076a60 ("xfs: support in-memory buffer cache target")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>1 parent 75bcffb commit 215b2bf
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4626 | 4626 | | |
4627 | 4627 | | |
4628 | 4628 | | |
| 4629 | + | |
4629 | 4630 | | |
4630 | 4631 | | |
4631 | 4632 | | |
4632 | 4633 | | |
4633 | 4634 | | |
4634 | 4635 | | |
4635 | 4636 | | |
4636 | | - | |
| 4637 | + | |
| 4638 | + | |
4637 | 4639 | | |
4638 | 4640 | | |
4639 | 4641 | | |
| |||
4642 | 4644 | | |
4643 | 4645 | | |
4644 | 4646 | | |
| 4647 | + | |
4645 | 4648 | | |
4646 | 4649 | | |
4647 | 4650 | | |
| |||
4650 | 4653 | | |
4651 | 4654 | | |
4652 | 4655 | | |
| 4656 | + | |
4653 | 4657 | | |
4654 | 4658 | | |
4655 | 4659 | | |
4656 | 4660 | | |
4657 | | - | |
| 4661 | + | |
| 4662 | + | |
4658 | 4663 | | |
4659 | 4664 | | |
4660 | 4665 | | |
| |||
0 commit comments