public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Brown" <mcb30@ipxe.org>
To: devel@edk2.groups.io, pedro.falcato@gmail.com
Subject: Re: [edk2-devel] GSOC 2021 EXT4 driver Project
Date: Tue, 25 May 2021 00:15:07 +0100	[thread overview]
Message-ID: <1bac9489-2613-3fd4-15ba-a2ba8d69f54e@ipxe.org> (raw)
In-Reply-To: <xxJa.1621884406691212312.Sd6s@groups.io>

On 24/05/2021 20:26, Pedro Falcato wrote:
> Me and my project have been selected for GSoC this year, under Michael 
> Kinney and bret. Thank you for the opportunity to collaborate with you 
> and improve Tianocore!
> If anyone has any questions, please fire away :)
> How do I get started? I'd like to find some easier tasks as to start 
> trying out patch submission and generally programming in a firmware 
> environment.
> Also, I've been talking with my mentors and a relevant question to ask 
> the mailing list is: Where should we put the EXT4 driver?
> Michael said there are other filesystems in MdeModulePkg, but it might 
> be getting too big and proposed the following options:
> 
> 1) EXT4 in new package in edk2 repo as a peer to FatPkg.
> 2) EXT4 in edk2 repo in MdeModulePkg
> 3) EXT4 in edk2-platforms advanced feature package.
> 4) EXT4 in edk2 advanced feature package

FWIW, the most natural positioning seems to me to be as a separate 
Ext4Pkg similar to FatPkg.

For the sake of your own sanity, you probably want to start by 
maintaining Ext4Pkg as a completely standalone git repo that you happen 
to place within your local edk2 checkout directory.  This will let you 
develop in isolation without worrying about where the code will 
eventually live, at least until the code has reached a state of maturity 
that makes it worth considering its eventual home.  Keeping it in a 
separate Ext4Pkg repo will also enforce some level of discipline on your 
coding: you'll naturally avoid being tempted into letting your 
development work leak outside of Ext4Pkg into other packages.

In terms of questions, there are two that immediately spring to mind:

- Are you planning on making this read-only, or read-write?

- If you're planning on making it read-write: what simplifications will 
you be able to make to the write path in the UEFI environment?  (UEFI is 
basically a single-user environment in which all filesystem writes 
should be flushed immediately: you may want to consider a simplified 
write path that never uses journalling, for example).

HTH,

Michael

  parent reply	other threads:[~2021-05-24 23:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 19:26 GSOC 2021 EXT4 driver Project Pedro Falcato
2021-05-24 20:26 ` [edk2-devel] " Michael D Kinney
2021-05-24 23:15 ` Michael Brown [this message]
2021-05-28 17:16   ` Pedro Falcato
2021-06-01 11:56     ` Michael Brown
2021-06-10 17:38 ` Michael D Kinney
2021-06-10 17:54   ` Leif Lindholm
2021-06-11 18:23     ` Michael Kubacki
2021-06-11 21:27       ` Michael D Kinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bac9489-2613-3fd4-15ba-a2ba8d69f54e@ipxe.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox