On Fri, Sep 30, 2016 at 09:11:30AM +0800, Qu Wenruo wrote:
> > - cmds/           - (planned) cmds-*.[ch]
> 
> Sounds good, so we can skip the "cmds-" prefix then.

Yes. We have to start somewhere, file renaming is left for later.

> 
> > - convert/        - move as-is, split later, eg. per filsystem
> > - image/          - move as-is, split if needed
> > - check/          - split from cmds-check
> 
> Pretty cool.
> I'm also moving some code into its own dir doing the user-space scrub work.
> (While I'm creating a new dir called fsck/ and put my scrub code into 
> it, rename it to check/ won't be a problem though)
> 
> While I'm not sure what is going to be in kernel-shared/ dir.
> 
> Uapi headers? or things like disk-io.c volumes.c?

Headers and the files you mentioned. See the branch for complete list.
The headers could be further separated, public and private.

> For uapi headers, then kernel-shared/ may contain few files.
> For disk-io.c/volumes.c, they are not shared with kernel anymore.

Partial sharing should be enough. See changelong:

> > All files that share content and purpose with the corresponding file in
> > the kernel are moved to a separate directory. There's only some overlap,
> > can't be 100% match but many functions are shared. A diff between the
> > files can reveal changes that should be applied to the other codebase.

.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to