linux-bcachefs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] feat(rust): include bitfield macro into kernel crate
       [not found]     ` <CANiq72nPekj0uXcM30aNmeeJXx48i3wQYhtxsNqh1HUYdy3=iQ@mail.gmail.com>
@ 2023-05-12  3:18       ` TruongSinh Tran-Nguyen
  0 siblings, 0 replies; only message in thread
From: TruongSinh Tran-Nguyen @ 2023-05-12  3:18 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: rust-for-linux, linux-bcachefs, Kent Overstreet

> You didn't answer where `bcachefs` is using this, by the way -- it is
> important because we need users to justify merging new code (of
> course, it may still be useful anyhow for other users too).
>
> Cheers,
> Miguel

It might take some time to explain but if you look at
https://github.com/koverstreet/bcachefs-tools/tree/master/rust-src/bch_bindgen/src,
there are several `rs` files. Except for `lib.rs`, all other files are
expected to be move to kernel side of bcachefs. A little bit more
background, https://github.com/koverstreet/bcachefs-tools/tree/master/libbcachefs
is actually the kernel side of bcachefs, and most
https://github.com/koverstreet/bcachefs-tools/tree/master/rust-src/bch_bindgen/src
are wrappers of `libbcachefs`. Now, to specifically answer your
question of where in  `bcachefs` is using the 2 needed crates, please
take a look at https://github.com/koverstreet/bcachefs-tools/blob/master/rust-src/bch_bindgen/src/bcachefs.rs
, as that is the first file I'm attempting to move, which use the 2
crates mentioned.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-12  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230511230837.63114-1-i@truongsinh.pro>
     [not found] ` <CANiq72=gH3vvn+=VmPOgUXZ-Utqbve8_3AfVbGP0jtKZrM_FSQ@mail.gmail.com>
     [not found]   ` <CAMy36z4Md=+2kXb2GMAh1+0-ttmB9tZj=a+xYzzKid08=9U5xw@mail.gmail.com>
     [not found]     ` <CANiq72nPekj0uXcM30aNmeeJXx48i3wQYhtxsNqh1HUYdy3=iQ@mail.gmail.com>
2023-05-12  3:18       ` [PATCH] feat(rust): include bitfield macro into kernel crate TruongSinh Tran-Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).