mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
29a811959c
Add support for dumping detailed vdo state to the kernel log via a dmsetup message. The dump code is not thread-safe and is generally intended for use only when the vdo is hung. Co-developed-by: J. corwin Coburn <corwin@hurlbutnet.net> Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net> Co-developed-by: Michael Sclafani <dm-devel@lists.linux.dev> Signed-off-by: Michael Sclafani <dm-devel@lists.linux.dev> Co-developed-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me> Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me> Co-developed-by: Bruce Johnston <bjohnsto@redhat.com> Signed-off-by: Bruce Johnston <bjohnsto@redhat.com> Co-developed-by: Ken Raeburn <raeburn@redhat.com> Signed-off-by: Ken Raeburn <raeburn@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
18 lines
335 B
C
18 lines
335 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright 2023 Red Hat
|
|
*/
|
|
|
|
#ifndef VDO_DUMP_H
|
|
#define VDO_DUMP_H
|
|
|
|
#include "types.h"
|
|
|
|
int vdo_dump(struct vdo *vdo, unsigned int argc, char *const *argv, const char *why);
|
|
|
|
void vdo_dump_all(struct vdo *vdo, const char *why);
|
|
|
|
void dump_data_vio(void *data);
|
|
|
|
#endif /* VDO_DUMP_H */
|