[Lustre-discuss] [wc-discuss] Re: Lustre and cross-platform portability
Liang Zhen
liang at whamcloud.com
Sat Apr 28 01:59:47 PDT 2012
On Apr 27, 2012, at 7:48 AM, Andreas Dilger wrote:
>
> - there was no objection to converting the Lustre code from spaces
> to tabs. My proposal was that build/checkpatch.pl could require
> tabs immediately, and new patches should be submitted with tabs
> on all new/modified lines (and optionally all lines on small
> functions to avoid messy formatting). This will avoid issues
> with current patches in flight, and also avoid "git annotate"
> showing the jumbo replace-all-spaces-with-tabs patch for every
> line in Lustre, and I think a good fraction of lines will be
> updated in the next 9-12 months or more. As we approach the
> actual time for upstream kernel submission is close, then we can
> make a final effort to clean up remaining lines in idle code
> (which will also be unlikely to conflict with existing work).
Lustre also requires to align the first alphabet of members while defining a structure, but linux kernel only aligns any first character (for example, * for pointer), then which way we should choose?
we probably should update our coding guidelines ASAP.
Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20120428/8dadc549/attachment.htm>
More information about the lustre-discuss
mailing list