[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025102150-maturely-squiggle-f87e@gregkh>
Date: Tue, 21 Oct 2025 09:09:57 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Danilo Krummrich <dakr@...nel.org>
Cc: 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, mmaurer@...gle.com,
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: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>
Powered by blists - more mailing lists