diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-24 11:57:02 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 14:06:29 +0200 |
| commit | c110639a1c9f36ce5382e9e70fccaa3f922ef35d (patch) | |
| tree | dcb2d06ec11674560bdad84f373666a9a53a8104 /tools/perf/scripts/python | |
| parent | 90c4dd2fa8fc3485551023e855c093bd9b675256 (diff) | |
xfs: centralize setting of buf_ops/buf_type/magic for rtblocks
Add two tables for the buf_ops and buf_type, and derive the magic from
the buf_ops to make have a single source of truth for the different RT
block variants. This cleans up the existing code and makes adding another
type of block/file easier.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
