From: Theodore Ts'o <tytso@mit.edu>
To: "Antonio Huete Jiménez" <ahuete.devel@gmail.com>
Cc: Andreas Dilger <adilger@dilger.ca>, linux-ext4@vger.kernel.org
Subject: Re: [PATCH] Add support for DragonFly BSD operating system.
Date: Sun, 15 Jul 2012 22:03:28 -0400 [thread overview]
Message-ID: <20120716020328.GA29544@thunk.org> (raw)
In-Reply-To: <op.whiji7pcf7p71t@sixfeet.quantumachine.net>
On Mon, Jul 16, 2012 at 02:26:57AM +0200, Antonio Huete Jiménez wrote:
> I've pasted both new patches in this email with the intention of
> producing less traffic in the mailing list, but I'm unsure if this
> is the correct thing to do, opposed to sending one mail per patch.
It's better to send one mail per patch. The reason for that is we
have automated tools that do the right thing with patches sent one per
e-mail. This includes patchwork (which tracks patches sent to the
mailing list; see
http://patchwork.ozlabs.org/project/linux-ext4/list/) and "git am".
Just use the git send-email tool; it will do the right thing.
There are places where you are using #if defined(__DragonFly__) and
there are other places where you are using #ifdef DIOCGPART. Is there
a reason for this?
In general, it's better to avoid using explicit feature tests rather
things like defined(__Dragonfly__) or defined(__solaris__). What if
an OS changes names or forks (i.e., like Open Solaris, Nextensa,
Illumos, etc.).
And the combination of an #ifdef based on HAVE_SYS_DISKLABEL_H,
DIOCGPART, and defined(__DragonFly__) raises red flags that the
combinatorics may be very brittle in the long run.
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
next prev parent reply other threads:[~2012-07-16 2:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-12 19:48 [PATCH] Add support for DragonFly BSD operating system Antonio Huete Jiménez
2012-07-12 22:25 ` Andreas Dilger
2012-07-13 0:30 ` Theodore Ts'o
2012-07-16 0:26 ` Antonio Huete Jiménez
2012-07-16 2:03 ` Theodore Ts'o [this message]
[not found] ` <CACegU+tjX0_6zkADvL2F1GP1QOZpPYk8sK5ETCEvw3FqU3aXiA@mail.gmail.com>
2012-08-20 12:28 ` Fwd: " Antonio Huete Jimenez
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-all 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=20120716020328.GA29544@thunk.org \
--to=tytso@mit.edu \
--cc=adilger@dilger.ca \
--cc=ahuete.devel@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).