mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
47874c98dc
Add a new dmsetup message called config, which will return useful configuration information for the vdo volume and the uds index associated with it. The output is a YAML string, and contains a version number to allow future additions to the content. Signed-off-by: Bruce Johnston <bjohnsto@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
15 lines
332 B
C
15 lines
332 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright 2023 Red Hat
|
|
*/
|
|
|
|
#ifndef VDO_MESSAGE_STATS_H
|
|
#define VDO_MESSAGE_STATS_H
|
|
|
|
#include "types.h"
|
|
|
|
int vdo_write_config(struct vdo *vdo, char **buf, unsigned int *maxlen);
|
|
int vdo_write_stats(struct vdo *vdo, char *buf, unsigned int maxlen);
|
|
|
|
#endif /* VDO_MESSAGE_STATS_H */
|