On Sun, Apr 04, 2010 at 09:05:14AM +0800, jing zhang wrote:
How much testing are you doing before submitting patches, out of
curiosity?
Having independent patches is actually better --- but I think you're
misunderstanding what I was complaining about before. Patches should
that are accepted into mainline should do one and only one thing. So
if someone suggests that you make changes to your submitted patch,
ideally what you should do is to resubmit the patch with the fixes ---
and not submit a patch which is a delta to the previous one.
This is especially true if the original patch is buggy; one of the
things we try very hard to maintain is that the kernel tree compile
cleanly, and pass the regression test suite, between every single
commit. In other words, we try to avoid knowingly introducing a
regression in a patch and fixing it in a subsequent patch. This
allows things like "git bisect" to work, and it also makes it easier
for people to look at the commit history to understand why certain
changes were made, and especially when trying to find how a bug was
introduced into ext4. Ultimately, this is about keeping the kernel
source code easily maintainable. This means that incrased code
complexity has to be justified, and code and code changes have to be
meticulously documented.
Best regards,
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html