mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
6a388618f1
Improve cache_status to emit: <metadata block size> <#used metadata blocks>/<#total metadata blocks> <cache block size> <#used cache blocks>/<#total cache blocks> ... Adding the block sizes allows for easier calculation of the overall size of both the metadata and cache devices. Adding <#total cache blocks> provides useful context for how much of the cache is used. Unfortunately these additions to the status will require updates to users' scripts that monitor the cache status. But these changes help provide more comprehensive information about the cache device and will simplify tools that are being developed to manage dm-cache devices -- because they won't need to issue 3 operations to cobble together the information that we can easily provide via a single status ioctl. While updating the status documentation in cache.txt spaces were tabify'd. Requested-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Acked-by: Joe Thornber <ejt@redhat.com> |
||
---|---|---|
.. | ||
cache-policies.txt | ||
cache.txt | ||
delay.txt | ||
dm-crypt.txt | ||
dm-flakey.txt | ||
dm-io.txt | ||
dm-log.txt | ||
dm-queue-length.txt | ||
dm-raid.txt | ||
dm-service-time.txt | ||
dm-uevent.txt | ||
kcopyd.txt | ||
linear.txt | ||
persistent-data.txt | ||
snapshot.txt | ||
statistics.txt | ||
striped.txt | ||
switch.txt | ||
thin-provisioning.txt | ||
verity.txt | ||
zero.txt |