dm cache: resolve small nits and improve Documentation
Document passthrough mode, cache shrinking, and cache invalidation. Also, use strcasecmp() and hlist_unhashed(). Reported-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
@@ -3057,7 +3057,7 @@ static int cache_message(struct dm_target *ti, unsigned argc, char **argv)
|
||||
if (!argc)
|
||||
return -EINVAL;
|
||||
|
||||
if (!strcmp(argv[0], "invalidate_cblocks"))
|
||||
if (!strcasecmp(argv[0], "invalidate_cblocks"))
|
||||
return process_invalidate_cblocks_message(cache, argc - 1, (const char **) argv + 1);
|
||||
|
||||
if (argc != 2)
|
||||
|
Reference in New Issue
Block a user