Re: [PATCH v3 3/6] mpi3mr: Dump driver and dmesg logs into driver diag buffer

Ranjan Kumar
2024-06-05T09:04:37Z

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

Hi Martin,

On Fri, May 31, 2024 at 6:34 AM Martin K. Petersen
<martin.petersen@oracle.com> wrote:
>
>
> Ranjan,
>
> > + kmsg_dump_rewind(&dumper.kdumper);
> > + while (kmsg_dump_get_line(&dumper.kdumper, 1, NULL, 0, NULL))
> > + n++;
> > +
> > + lines = n;
> > + kmsg_dump_rewind(&dumper.kdumper);
>
> Ugh. This is something your userland stuff will have to handle.
>
Thanks for your input.I will drop this patch and resend remaining patches.

Thanks,
Ranjan
> --
> Martin K. Petersen Oracle Linux Engineering