linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Timeline or roadmap to split lowmem mode and original mode check?
@ 2018-01-17  5:32 Qu Wenruo
  2018-01-17 10:55 ` Nikolay Borisov
  0 siblings, 1 reply; 2+ messages in thread
From: Qu Wenruo @ 2018-01-17  5:32 UTC (permalink / raw)
  To: David Sterba; +Cc: linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

Hi David,

There is the long planned work to split the original mode and lowmem
mode check into their own .[ch] files.

I found it harder and harder to locate repair functions for original and
lowmem mode when writing fixes for them.

I wonder if it's a good time to start the split work, and if you're OK
with it, my plan is to:

1) Start the split work based on 4.14.1

2) Split check code into:
   check/common.[ch]	<<< Not sure how many functions will be there
   check/lowmem.[ch]
   check/origin.[ch]
   check/main.c

Currently most fsck fixes and enhancement are from Fujitsu guys who I'm
quite familiar with, so rebasing their code won't be a big problem for me.

If this works for you, I can start the work asap.

Thanks,
Qu


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 520 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Timeline or roadmap to split lowmem mode and original mode check?
  2018-01-17  5:32 Timeline or roadmap to split lowmem mode and original mode check? Qu Wenruo
@ 2018-01-17 10:55 ` Nikolay Borisov
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay Borisov @ 2018-01-17 10:55 UTC (permalink / raw)
  To: Qu Wenruo, David Sterba; +Cc: linux-btrfs



On 17.01.2018 07:32, Qu Wenruo wrote:
> Hi David,
> 
> There is the long planned work to split the original mode and lowmem
> mode check into their own .[ch] files.
> 
> I found it harder and harder to locate repair functions for original and
> lowmem mode when writing fixes for them.
> 
> I wonder if it's a good time to start the split work, and if you're OK
> with it, my plan is to:
> 
> 1) Start the split work based on 4.14.1
> 
> 2) Split check code into:
>    check/common.[ch]	<<< Not sure how many functions will be there
>    check/lowmem.[ch]
>    check/origin.[ch]
>    check/main.c
> 
> Currently most fsck fixes and enhancement are from Fujitsu guys who I'm
> quite familiar with, so rebasing their code won't be a big problem for me.
> 
> If this works for you, I can start the work asap.

When you start working on that you might consider also documenting most
of the repair functions :)

> 
> Thanks,
> Qu
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-17 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17  5:32 Timeline or roadmap to split lowmem mode and original mode check? Qu Wenruo
2018-01-17 10:55 ` Nikolay Borisov

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).