[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGSQo00J6SjVLBDFHYqwVZ7x_5nT8L=RQEHTfAe43CoDuo0q3Q@mail.gmail.com>
Date: Tue, 21 Oct 2025 14:26:12 -0700
From: Matthew Maurer <mmaurer@...gle.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Danilo Krummrich <dakr@...nel.org>, rafael@...nel.org, ojeda@...nel.org,
alex.gaynor@...il.com, boqun.feng@...il.com, gary@...yguo.net,
bjorn3_gh@...tonmail.com, lossin@...nel.org, a.hindborg@...nel.org,
aliceryhl@...gle.com, tmgross@...ch.edu, rust-for-linux@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/8] Binary Large Objects for Rust DebugFS
On Tue, Oct 21, 2025 at 12:10 AM Greg KH <gregkh@...uxfoundation.org> wrote:
>
> On Tue, Oct 21, 2025 at 12:26:12AM +0200, Danilo Krummrich wrote:
> > This series adds support for exposing binary large objects via Rust debugfs.
> >
> > The first two patches extend UserSliceReader and UserSliceWriter with partial
> > read/write helpers.
> >
> > The series further introduces read_binary_file(), write_binary_file() and
> > read_write_binary_file() methods for the Dir and ScopedDir types.
> >
> > It also introduces the BinaryWriter and BinaryReader traits, which are used to
> > read/write the implementing type's binary representation with the help of the
> > backing file operations from/to debugfs.
> >
> > Additional to some more generic blanked implementations for the BinaryWriter and
> > BinaryReader traits it also provides implementations for common smart pointer
> > types.
> >
> > Both samples (file-based and scoped) are updated with corresponding examples.
> >
> > A branch containing the patches can be found in [1].
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/dakr/linux.git/log/?h=debugfs_blobs
>
> Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Reviewed-by: Matthew Maurer <mmaurer@...gle.com>
Powered by blists - more mailing lists