[haiku-development] Re: ext3 Journal WIP patch

  • From: Janito Ferreira Filho <jvffprog@xxxxxxxxxxx>
  • To: Haiku Development <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 16 Apr 2010 18:35:50 +0000

> anevilyak@xxxxxxxxx wrote:
>
> It instructs the compiler to not pad the structure to fit memory
> alignment restrictions. Otherwise some pad bytes might be added to
> align it, which won't play well in the disk scenario. (i.e. if 32-bit
> word alignment is expected, and you create a struct with 2 bytes in
> it, the resulting struct would wind up being allocated/sized as 4
> bytes unless _PACKED is specified)

Hi,

I see... Thanks for the quick reply! I'll add it to all disk-centered 
structures.

Janito
                                          
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969

Other related posts: