| To: | "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Mon, 17 Mar 2008 13:32:16 -0500 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20080315045147.GB28242@josefsipek.net> |
| References: | <47DB4181.7040603@sandeen.net> <20080315041722.GA25621@josefsipek.net> <47DB4F4F.8030407@sandeen.net> <20080315042703.GA28242@josefsipek.net> <47DB51A3.70200@sandeen.net> <20080315045147.GB28242@josefsipek.net> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.12 (Macintosh/20080213) |
Josef 'Jeff' Sipek wrote: > Josef 'Jeff' Sipek, wondering exactly how passionate one can get about > structure member alignment :) Very. ;) Tossing packed at all the ondisk stuctures bloats things badly on ia64. cvs/linux-2.6-xfs> wc -l before.dis 166688 before.dis cvs/linux-2.6-xfs> wc -l after.dis 182294 after.dis That's +15606 lines. http://digitalvampire.org/blog/index.php/2006/07/31/why-you-shouldnt-use-__attribute__packed/ Please, don't do this. _Annotating_ ondisk structures sounds good to me, assuming something can be done with it (i.e., testing for holes - I'd thought of this a while ago too, but never came up with anything to make use of it) but don't pack stuff just for fun. -Eric |
| Previous by Date: | Re: [dm-crypt] INFO: task mount:11202 blocked for more than 120 seconds, Alasdair G Kergon |
|---|---|
| Next by Date: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Josef 'Jeff' Sipek |
| Previous by Thread: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Josef 'Jeff' Sipek |
| Next by Thread: | Re: [PATCH] fix dir2 shortform structures on ARM old ABI, Josef 'Jeff' Sipek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |