aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorColy Li <[email protected]>2020-07-25 12:00:36 +0000
committerJens Axboe <[email protected]>2020-07-25 13:38:21 +0000
commit092bd54d69230b4a4a7f640a4cdcdeb004d3546e (patch)
tree9bd4a363c21ace95a6613db3eaf45cd390a62924 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentbcache: add bucket_size_hi into struct cache_sb_disk for large bucket (diff)
downloadkernel-092bd54d69230b4a4a7f640a4cdcdeb004d3546e.tar.gz
kernel-092bd54d69230b4a4a7f640a4cdcdeb004d3546e.zip
bcache: add sysfs file to display feature sets information of cache set
The following three sysfs files are created to display according feature set information of bcache: /sys/fs/bcache/<cache set UUID>/internal/feature_compat /sys/fs/bcache/<cache set UUID>/internal/feature_ro_compat /sys/fs/bcache/<cache set UUID>/internal/feature_incompat is added by this patch, to display feature sets information of the cache set. Now only an incompat feature 'large_bucket' added in bcache, the sysfs file content is: [large_bucket] string large_bucket means the running bcache drive supports incompat feature 'large_bucket', the wrapping [] means the 'large_bucket' feature is currently enabled on this cache set. This patch is ready to display compat and ro_compat features, in future once bcache code implements such feature sets, the according feature strings will be displayed in their sysfs files too. Signed-off-by: Coly Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions